Unable to start apache server at system boot

From: Paul N. Youngblood <youngbp_at_uahis1.uah.edu>
Date: Tue, 27 Feb 2001 16:04:18 -0600 (CST)

Hello Sys Admins,

I've got Tru64 v4.0F with Enhanced Security and Apache v1.3.13.
I can start the server interactively when logged on as user
"root" -- either by invoking the daemon directly like this:
# /usr/local/apache/httpd
or, by invoking it with a script like this:
# /sbin/init.d/apachectl start
Once running, the server functions without problem or error.

However, it never starts during a system boot. (If it actually
is started, it must die immediately.) Nothing ever gets logged
about apache during bootup -- error or otherwise in the system
log files, /var/adm/syslog.dated/current/kern.log and
           /var/adm/syslog.dated/current/daemon.log

And no entry is ever made to either of these apache log files:
   /usr/local/apache/logs/error_log
   /usr/local/apache/logs/httpd.pid

Of course, when I start apache by hand, the httpd.pid file is
overwritten with the current pid, and a line like the following
is written to the error_log file:
   [Mon Feb 26 19:13:45 2001] [notice] Apache/1.3.14 (Unix)
                configured -- resuming normal operations

My startup link looks like this:
# ls -l /sbin/rc3.d/S99apache
lrwxrwxrwx 1 root bin 19 Feb 26 16:34
        /sbin/rc3.d/S99apache -> ../init.d/apachectl

My startup script permissions/owners look like this:
# ls -l /sbin/init.d/apachectl
-rwxr-x--- 1 bin bin 7121 Feb 26 19:13 /sbin/init.d/apachectl

Please see below for most of my server config settings.
Any and all suggestions/ideas appreciated. Thanks.

Paul Youngblood
youngbp_at_uahis1.uah.edu
----------------------

Most of my apache config settings in httpd.conf look like this:

# grep '^[A-Z]' /usr/local/apache/conf/httpd.conf
ServerType standalone
ServerRoot "/usr/local/apache"
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_runtime_status
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 300
Port 80
User nobody
Group nobody
ServerAdmin xxxxx_at_xxxxx.xxxxx.edu
ServerName xxxxx.xxxxx.edu
DocumentRoot "/usr/local/apache/data"
AccessFileName .htaccess
UseCanonicalName On
DefaultType text/plain
HostnameLookups On
ErrorLog logs/error_log
LogLevel warn
... etc. ...
--------------------------------------------------------
Received on Tue Feb 27 2001 - 21:49:38 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT