Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)

142 Chapter5
Internet and Interoperability
Apache for MPE/iX 6.5
Verify that Apache is Running
There are a number of ways to verify if the Apache web server is running or, if it is not, to
isolate how far the startup process progressed.
After streaming the JHTTPD file, use :SHOWJOB to view the running job:
JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME
#J16 EXEC 10S LP TUE 10:27A JHTTPD,WWW.APACHE
Another method is to check server status using either ps from the POSIX shell or using
:SHOWPROC at the CI. The parent process is the HTTPD process with the -f option.
:SHOWPROC; job=jhttpd,www.apache
D202 0:00.079 WAIT J16 73 :RUN HTTPD;info=’-f
/APACHE/PUB/conf/httpd.conf’
D238 1:25.371 WAIT J16 97 (HTTPD.PUB.APACHE) -f
/APACHE/PUB/conf/httpd.conf
D202 0:00.066 WAIT J16 78 (HTTPD.PUB.APACHE)
D202 0:00.072 WAIT J16 76 (HTTPD.PUB.APACHE)
D202 0:00.069 WAIT J16 93 (HTTPD.PUB.APACHE)
D202 0:00.090 WAIT J16 106 (HTTPD.PUB.APACHE)
D202 0:00.050 WAIT J16 99 (HTTPD.PUB.APACHE)
D202 0:00.055 WAIT J16 107 (HTTPD.PUB.APACHE)
shell> ps -ef | grep HTTPD
UID PID PPID C STIME TTY TIME COMMAND
WWW.APACHE 720972 655457 0 Dec 31 ldev10 0:00 HTTPD.PUB.APACHE
WWW.APACHE 589902 655457 0 Dec 31 ldev10 0:00 HTTPD.PUB.APACHE
WWW.APACHE 3014749 655457 0 Dec 31 ldev10 0:00 HTTPD.PUB.APACHE
WWW.APACHE 655457 5963849 0 Dec 31 ldev10 1:23 HTTPD.PUB.APACHE info=-f
WWW.APACHE 4587619 655457 0 Dec 31 ldev10 0:00 HTTPD.PUB.APACHE
WWW.APACHE 262250 655457 0 Dec 31 ldev10 0:00 HTTPD.PUB.APACHE
WWW.APACHE 3407979 655457 0 Dec 31 ldev10 0:00 HTTPD.PUB.APACHE
If the HTTPD program is running, make sure you can also access files in the directory tree.
Some pages to try are:
Your server’s Home Page
http://yourserver.com
MGR.APACHEs Home Page
shell> cd /APACHE/PUB/public_html
shell> cp index.htm.sample index.html
http://yourserver.com/~MGR.APACHE
The Apache on-line documentation manual
http://yourserver.com/manual
If you are unsuccessful in starting the HTTPD program, you can get more information
about the problem by:
1. Looking at the output of the JHTTPD spoolfile
2. Checking the messages in the /APACHE/PUB/logs/error_log file