Hello Hermann,
Yes my problem is to start or stop the Web Server using startServer or stopServer command (which works fine in WAS 8.5)
-->> My error.log contains this :
[Mon Oct 08 15:16:25.194517 2018] [was_ap24:notice] [pid 56770:tid 139666661410560] ---------------------------------------------------
[Mon Oct 08 15:16:25.195577 2018] [was_ap24:notice] [pid 56770:tid 139666661410560] WebSphere Plugins loaded.
[Mon Oct 08 15:16:25.195588 2018] [was_ap24:notice] [pid 56770:tid 139666661410560] Bld version: 9.0.0.9
[Mon Oct 08 15:16:25.195596 2018] [was_ap24:notice] [pid 56770:tid 139666661410560] Bld date: Aug 15 2018, 16:56:12
[Mon Oct 08 15:16:25.195604 2018] [was_ap24:notice] [pid 56770:tid 139666661410560] Webserver: IBM_HTTP_Server/9.0.0.9 (Unix)
[Mon Oct 08 15:16:25.195611 2018] [was_ap24:notice] [pid 56770:tid 139666661410560] ---------------------------------------------------
[Mon Oct 08 15:16:25.195662 2018] [:notice] [pid 56770:tid 139666661410560] Using config file /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf
[Mon Oct 08 15:16:25.199510 2018] [mpm_event:notice] [pid 56770:tid 139666661410560] AH00489: IBM_HTTP_Server/9.0.0.9 (Unix) configured -- resuming normal operations
[Mon Oct 08 15:16:25.199510 2018] [core:notice] [pid 56770:tid 139666661410560] AH00094: Command line: '/soft/was90/HTTPServer/bin/httpd -d /soft/was90/HTTPServer -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf'
-->> You can find my httpd.conf file in attachment if you need to see this file too.
-->> And the command below works fine ...
(mzpwas01@yval1b60) $ /soft/was90/HTTPServer/bin/apachectl -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf -k
stop(mzpwas01@yval1b60) $ ps -ef | grep httpd
mzpwas01 8403 58705 0 15:45 pts/1 00:00:00 grep httpd
(mzpwas01@yval1b60) $ /soft/was90/HTTPServer/bin/apachectl -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf -k
start(mzpwas01@yval1b60) $ ps -ef | grep httpd
mzpwas01 8503 1 11 15:45 ? 00:00:00 /soft/was90/HTTPServer/bin/httpd -d /soft/was90/HTTPServer -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf -k start
mzpwas01 8508 8503 0 15:45 ? 00:00:00 /soft/was90/HTTPServer/bin/httpd -d /soft/was90/HTTPServer -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf -k start
mzpwas01 8511 8503 0 15:45 ? 00:00:00 /soft/was90/HTTPServer/bin/httpd -d /soft/was90/HTTPServer -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf -k start
mzpwas01 8512 8503 0 15:45 ? 00:00:00 /soft/was90/HTTPServer/bin/httpd -d /soft/was90/HTTPServer -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf -k start
mzpwas01 8616 58705 0 15:45 pts/1 00:00:00 grep httpd
Thanks for your help
Cedric
------------------------------
Cédric A
------------------------------
Original Message:
Sent: 10-05-2018 12:25
From: Hermann Huebler
Subject: WAS 9.0 : stopServer and starServer command
Hello Cédric,
thanks for the date. So you are facing problems starting the Web Server. From the trace it looks like that it is a Web Server (IHS) on a managed node - right?
From the startServer trace it seems that the server is started using the following command:
--- snip ---
[10/4/18 8:47:20:481 CEST] 00000001 UnixProcessIm 3 Creation params are: [executable:] /soft/was90/HTTPServer/bin/apachectl [command line
args:] -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf -k start [environment:] [working directory:] /soft/was90/HTTPServ
er [umask:] 22 [Standard out/err filenames:] null null null [priority:] 20 [process group:] 0 [process name:] hwo60_HelloWorld_Hello_ws [inh
eritParentStreams:] true[detachProcess:] false
--- snip ---
i.e. the command is: "/soft/was90/HTTPServer/bin/apachectl -f /users/hwo60/was90/data/ihs/hwo60_HelloWorld_Hello_ws/httpd.conf -k start" which looks OK to me.
And in the logs we can also see:
ADMU3400I: Server launched. No initialization status. Process id is: 41481
Is it possible that the HTTP Server started but failed due to any configuration problems? Note, that IHS v9 is based on Apache 2.4 and you might need to update you configuration if you copied it over from the older version.
So I'm wondering if:
- the server was started when you collected the trace?
- you can start the server from the command line using this command above?
- you have any entries in the Web Server log files (error_log)?
P.S: the stopServer log you attached also contains the following line at the end:
ADMU7772I: Generic Server: hwo60_HelloWorld_Hello_ws STOPPED successfully - so that looks ok as well.
------------------------------
Hermann Huebler
Original Message:
Sent: 10-04-2018 13:26
From: Rene Summers
Subject: WAS 9.0 : stopServer and starServer command
Check your file permissions. Can't open file indicates maybe something is owned by user and need to be resolved. A second issue I saw is also discussed from an old V7 issue documented here:
https://developer.ibm.com/answers/questions/301683/why-is-starting-of-the-websphere-portal-server-fai/
------------------------------
Rene Summers
Original Message:
Sent: 10-03-2018 10:09
From: Cédric A
Subject: WAS 9.0 : stopServer and starServer command
Hello everyone,
In WAS 8.5.5, the stopServer.sh or startServer.sh command works fine to start/stop a Web Server but in WAS 9.0 it doesn't work anymore...
I tried the script serverStatus.sh and this one return the good state for the Application Server (server1) and the Web Server
So why stopServer (or start) works in WAS 8.5.5 and not in WAS 9.0 ? Do you have this problem ?
I have installed the WAS 9.0.0.9 so the latest available...
Thanks for your help
------------------------------
Cédric A
------------------------------