PDA

View Full Version : Permission denied: couldn't grab the accept mutex



janton
09-02-2011, 06:07 AM
It seems my apache server has some problems. every day it shuts down somehow, after restart it works good, but it happends 1 or 2 times a day.. what could i do? i read this has something todo with my ssl and i need to add AcceptMutex flock to my httpd.conf but how come this happends?

[Wed Aug 31 21:37:37 2011] [emerg] (13)Permission denied: couldn't grab the accept mutex
[Wed Aug 31 21:37:37 2011] [alert] Child 17585 returned a Fatal error... Apache is exiting!
[Wed Aug 31 21:37:37 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Wed Aug 31 21:37:37 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Wed Aug 31 21:37:37 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Wed Aug 31 21:37:37 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Wed Aug 31 21:37:37 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Wed Aug 31 21:37:37 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Wed Aug 31 21:37:37 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Wed Aug 31 21:37:37 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Wed Aug 31 21:37:39 2011] [emerg] (22)Invalid argument: couldn't release the accept mutex

janton
09-02-2011, 06:09 AM
I also have mod_ruid2 installed> perhaps this could be the issue?

mr.applesauce
09-02-2011, 06:14 AM
isnt emerg a gentoo thing? Since when is gentoo supported by directadmin.

janton
09-02-2011, 06:30 AM
isnt emerg a gentoo thing? Since when is gentoo supported by directadmin.

So far i know i don't have anything special... just a normal directadmin install on a CentOS 5 and no special extra's.

zEitEr
09-02-2011, 08:51 AM
Did you try to Google? I've found a link with Google, it can be usefull.

http://blather.michaelwlucas.com/archives/678

janton
09-03-2011, 03:12 AM
Did you try to Google? I've found a link with Google, it can be usefull.

http://blather.michaelwlucas.com/archives/678

Yes i also found that article and have read it, but he talks about a problem that his apache won´t start anymore, with me it happends sometimes. (for yet unkown reasons)

zEitEr
09-03-2011, 09:00 AM
And wasn't it helpful?

janton
09-03-2011, 09:35 AM
And wasn't it helpful?

Yes i have add the mutex line to the httpd.conf i hope it does work.. but the problem is it happends only 2 to 3 times a week.. so i will know if it worked after 1 week :)

Also i changed more things, so perhaps the combination did the job, untill now i did not have a crash yet. (day one)

janton
09-05-2011, 01:03 AM
So far so good... no crash yet!