suEXEC mechanism enabled (wrapper:

Not able to start httpd & the error is as below

Configuration Failed
[Tue Dec 22 11:24:33 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Dec 22 11:24:33 2009] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock

Checking your disk shows that you have plenty of space. The problem is that apache didn’t shut down properly, and it’s left myriads of semaphore-arrays left, owned by my apache-user. Run:-

ipcs -s | grep nobody

Removing these semaphores immediately should solve the problem and allow apache to start.

ipcs -s | grep nobody | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'


Related posts

Leave a Comment