Ahhhhh! Apache won’t restart. What’s going on? Well the below was the issue….dang semaphores!

(28)No space left on device: Couldn't create accept lock or [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed

There were myriads of semaphore-arrays left, owned by my apache-user. ipcs -s | grep apache Removing this semaphores immediately solved the problem. ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'

Special Thanks to: Carlos Rivero

Leave a Comment

Your email address will not be published. Required fields are marked *