ASL Version 2.2.6: CentOS 5 (SUPPORTED)
httpd-2.2.3-31.el5.centos.4
mod_security-2.5.12-3.el5.art
CentOS release 5.4 (Final)
PSA 9.2.1 CentOS 5 92090422.13
Not sure if this is a bug in asl, mod_sec or apache itself but it's causing real headaches here so any help or pointers would be appreciated.
A graceful restart of apache (by Plesk) seems to produce this in the /var/log/httpd/error_log
[Tue Jun 08 16:49:35 2010] [notice] Graceful restart requested, doing restart
[Tue Jun 08 16:49:35 2010] [notice] seg fault or similar nasty error detected in the parent process
Apache is then dead and needs killing with a big stick to get it to restart.
Cheers
George
apache restart crashes and locks httpd
-
- Forum User
- Posts: 40
- Joined: Thu Feb 26, 2009 6:50 pm
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4155
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: apache restart crashes and locks httpd
That looks like an apache bug.
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
-
- Forum User
- Posts: 40
- Joined: Thu Feb 26, 2009 6:50 pm
Re: apache restart crashes and locks httpd
Thanks Mike, have you seen it before? Any ideas? This is a pretty standard install with no monkey business! 

Re: apache restart crashes and locks httpd
try to disable eaccelerator and test if it's still happening.
-
- Forum User
- Posts: 40
- Joined: Thu Feb 26, 2009 6:50 pm
Re: apache restart crashes and locks httpd
Thanks for the tip BruceLee, I've just been reading the other posts on eaccelerator and PHP 5.2.13 and can see that the likely culprit is eaccelerator as the symptoms are identical - I also have the segfaulting problem
Re: apache restart crashes and locks httpd
I have no segfaults anymore, because I have rebuilded the rpm from Scotts srpm.
During my investigation I found a fix for the segfault error I had and send it to Scott.
Unfortunately he didn't build it in. So I had to do it. It's included in the srpm buut commented out.
This should help you:
http://www.atomicorp.com/forums/viewtop ... f=1&t=4024
During my investigation I found a fix for the segfault error I had and send it to Scott.
Unfortunately he didn't build it in. So I had to do it. It's included in the srpm buut commented out.
This should help you:
http://www.atomicorp.com/forums/viewtop ... f=1&t=4024
-
- Forum User
- Posts: 40
- Joined: Thu Feb 26, 2009 6:50 pm
Re: apache restart crashes and locks httpd
BruceLee thanks for the tip I'll follow your instructions when I get a chance, I've removed eaccelerator and a graceful restart works ok now. I tried the php-pecl-apc rpm but it looks like that is a little borked as well...