[mod-security-users] apache2 doesn't completely shutdown
Brought to you by:
victorhora,
zimmerletw
|
From: Steve M. <sj...@po...> - 2006-02-22 13:30:59
|
I have searched the archives for this problem, but did not find anything
with this particular problem. I am running gentoo and have apache
2.0.55. I have installed mod_security 1.87 (the latest version gentoo
has working). I can properly start apache (pid file shows up, 7
processes are shown running with ps ax, and I can use links to connect
to the server), and can almost shut it down... When I run
/etc/init.d/apache2 stop everything appears normal, but 2 apache
processes are left running when I run ps ax. Stopping the server does
remove the pid file from the chroot jail as it should.
The relevant settings are below:
------------------------
/etc/init.d/apache2
------------------------
CHROOT="/var/chroot/apache2"
PIDFILE="/var/run/apache2.pid"
stop() {
checkconfig || return 1
ebegin "Stopping apache2"
${APACHE2} ${APACHE2_OPTS} -c "PidFile $CHROOT$PIDFILE" -k stop
eend $?
}
------------------------
/etc/conf.d/apache2
------------------------
PIDFILE=/var/chroot/apache2/var/run/apache2.pid
------------------------
/etc/apache2/httpd.conf
------------------------
PidFile "/var/run/apache2.pid"
Any ideas would be greatly appreciated.
Thanks,
Steve
|