[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OBSD 3.2 Apache not starting, binding correctly.
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: OBSD 3.2 Apache not starting, binding correctly.
- From: Darren Spruell <darren_spruell_(_at_)_sento_(_dot_)_com>
- Date: 06 Nov 2002 09:27:01 -0700
[ Please CC this address (unsub'd until email is up again) ]
When I start apache on my 3.2 server, connections to port 80 are
refused. I suspect this may be related to a recent thread in the
archives for something that is fixed in stable, but in case I'm wrong:
an output of ps shows the following:
=================================================================
$ sudo apachectl start
/usr/sbin/apachectl start: httpd started
[sancho_(_at_)_molodetz:~]$ ps auxwww |grep httpd
www 13791 0.0 0.0 1108 1436 ?? Ss 9:12AM 0:00.02 httpd:
parent [chroot /var/www] (httpd)
www 29845 0.0 0.0 1108 456 ?? S 9:12AM 0:00.01 httpd:
child (httpd)
www 2989 0.0 0.0 1108 456 ?? S 9:12AM 0:00.01 httpd:
child (httpd)
www 21149 0.0 0.0 1108 456 ?? S 9:12AM 0:00.01 httpd:
child (httpd)
www 8784 0.0 0.0 1108 456 ?? S 9:12AM 0:00.01 httpd:
child (httpd)
www 30524 0.0 0.0 1108 456 ?? S 9:12AM 0:00.01 httpd:
child (httpd)
=================================================================
/var/www/logs/error_log shows only the following at startup:
=================================================================
[Wed Nov 6 09:12:57 2002] [notice] chrooted in /var/www
[Wed Nov 6 09:12:57 2002] [notice] changed to uid 67, gid 67
[Wed Nov 6 09:12:57 2002] [notice] Apache/1.3.26 (Unix) mod_ssl/2.8.10
OpenSSL/0.9.7-beta3 configured -- resuming normal operations
[Wed Nov 6 09:12:57 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)
=================================================================
However, if I try to 'apachectl restart', the following shows up in
error_log, alternating:
=================================================================
[Wed Nov 6 09:12:57 2002] [notice] chrooted in /var/www
[Wed Nov 6 09:12:57 2002] [notice] changed to uid 67, gid 67
[Wed Nov 6 09:12:57 2002] [notice] Apache/1.3.26 (Unix) mod_ssl/2.8.10
OpenSSL/0.9.7-beta3 configured -- resuming normal operations
[Wed Nov 6 09:12:57 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)
[Wed Nov 6 09:17:14 2002] [notice] SIGHUP received. Attempting to
restart
fopen: No such file or directory
httpd: could not open document config file /conf/srm.conf
[Wed Nov 6 09:17:26 2002] [notice] chrooted in /var/www
[Wed Nov 6 09:17:26 2002] [notice] changed to uid 67, gid 67
[Wed Nov 6 09:17:26 2002] [notice] Apache/1.3.26 (Unix) mod_ssl/2.8.10
OpenSSL/0.9.7-beta3 configured -- resuming normal operations
[Wed Nov 6 09:17:26 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)
[Wed Nov 6 09:17:30 2002] [notice] SIGHUP received. Attempting to
restart
fopen: No such file or directory
httpd: could not open document config file /conf/srm.conf
=================================================================
That is to say, one attempt shows a supposedly successful restart of
httpd, the next shows the srm.conf error; subsequent restarts repeat
this pattern. The only config option for srm.conf that I can find is
commented out:
=================================================================
$ grep srm.conf /var/www/conf/httpd.conf
#ResourceConfig conf/srm.conf
=================================================================
Incidentally, the same thing occurs when trying to launch httpd with the
-u option.
Thanks in advance for any ideas.
--
Darren Spruell
Sento IS Department
darren_spruell_(_at_)_sento_(_dot_)_com
Visit your host, monkey.org