Communicator e3000 MPE/iX Release 7.0 Express 1 (Software Release C.70.01) (30216-90328)
Chapter 3 59
New Networking
Apache 1.3.14 for MPE/iX
Running Apache
Startup
Apache can be started from either the CI or the POSIX shell.
:STREAM JHTTPD.PUB.APACHE
or
shell/iX>callci stream JHTTPD.PUB.APACHE
Verifying Startup
Successful installation and startup of Apache 1.3.14 can be verified by
• Doing a :SHOWJOB to see if JHTTPD,WWW.APACHE is running
• Checking JHTTPD's output spoolfile
• Looking at the content of the error_log
• Accessing web pages
To check the content of the error_log,
shell/iX>cd /APACHE/PUB/logs
shell/iX>tail error_log
If the JHTTPD job is running, try accessing Apache's home page,
http://yourserver.com
If Apache does not start, more information is available in the Configuring and Managing
MPE/iX Internet Services manual for Release 7.0 Express 1. Or, try consulting the online
Apache Troubleshooting Guide for tips on debugging the problem,
http://jazz.external.hp.com/src/apache.
Shutdown
Apache can be shut down by issuing an :ABORTJOB or kill. Using kill (which defaults to
kill -TERM) is the preferred method since it uses Apache's internal routines to clean up
open resources. Kill can be issued by users WWW.APACHE, MGR.APACHE, and
MANAGER.SYS. Using :ABORTJOB will result in leaked SVIPC semaphores. The CI
command file IPCS.HPBIN.SYS displays SVIPC semaphores and the CI command file
IPCRM.HPBIN.SYS frees leaked semphores.
To shut down Apache,
shell/iX>kill `cat /APACHE/PUB/logs/httpd.pid`
or
:ABORTJOB JHTTPD,WWW.APACHE
Restart
Apache can be restarted by issuing a kill -HUP. A restart will cause Apache to reread its
configuration files without having to stop and restream the Apache job stream file. Restart
is useful for making configuration changes without disrupting web users. After a restart,