Re: [mod-security-users] apache2 doesn't completely shutdown
Brought to you by:
victorhora,
zimmerletw
|
From: Ivan R. <iv...@we...> - 2006-02-22 13:39:24
|
Steve McKinney wrote:
> 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.
Is this related to mod_security? E.g. are you chrooting Apache
with it?
Maybe you can try creating a folder such as
/var/run/apache2/
symlinked
to
/var/chroot/apache2/var/run/apache2/
and change the PID location to
/var/run/apache2/apache2.pid
This would ensure the same PID file is used from inside
and outside the jail.
--
Ivan Ristic, Technical Director
Thinking Stone, http://www.thinkingstone.com
ModSecurity: Open source Web Application Firewall
|