store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue Jun 18, 2013 6:37 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 7 posts ] 
Author Message
 Post subject: apache restart crashes and locks httpd
Unread postPosted: Tue Jun 08, 2010 12:26 pm 
Offline
Forum User
Forum User

Joined: Thu Feb 26, 2009 6:50 pm
Posts: 35
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


Top
 Profile  
 
 Post subject: Re: apache restart crashes and locks httpd
Unread postPosted: Tue Jun 08, 2010 1:19 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3264
Location: Chantilly, VA
That looks like an apache bug.

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: apache restart crashes and locks httpd
Unread postPosted: Tue Jun 08, 2010 5:03 pm 
Offline
Forum User
Forum User

Joined: Thu Feb 26, 2009 6:50 pm
Posts: 35
Thanks Mike, have you seen it before? Any ideas? This is a pretty standard install with no monkey business! :)


Top
 Profile  
 
 Post subject: Re: apache restart crashes and locks httpd
Unread postPosted: Tue Jun 08, 2010 5:52 pm 
Offline
Forum Regular
Forum Regular

Joined: Sat Mar 28, 2009 6:58 pm
Posts: 802
Location: Germany
try to disable eaccelerator and test if it's still happening.


Top
 Profile  
 
 Post subject: Re: apache restart crashes and locks httpd
Unread postPosted: Tue Jun 08, 2010 6:22 pm 
Offline
Forum User
Forum User

Joined: Thu Feb 26, 2009 6:50 pm
Posts: 35
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


Top
 Profile  
 
 Post subject: Re: apache restart crashes and locks httpd
Unread postPosted: Wed Jun 09, 2010 3:38 am 
Offline
Forum Regular
Forum Regular

Joined: Sat Mar 28, 2009 6:58 pm
Posts: 802
Location: Germany
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/viewtopic.php?f=1&t=4024


Top
 Profile  
 
 Post subject: Re: apache restart crashes and locks httpd
Unread postPosted: Wed Jun 09, 2010 10:47 am 
Offline
Forum User
Forum User

Joined: Thu Feb 26, 2009 6:50 pm
Posts: 35
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...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 7 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group