From: "Paul N. Youngblood" <youngbp () uahis1 ! uah ! edu>
To: tru64-unix-managers
Subject: Unable to start apache server at system boot
Date: Tue, 27 Feb 2001 21:48:59 +0000 [thread overview]
Message-ID: <98331053931937.tru64-unix-managers.marc@archive.invalid> (raw)
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@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@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. ...
--------------------------------------------------------
reply other threads:[~2001-02-27 21:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox