Posts Tagged ‘apache semaphore’

How To Delete Apache Semaphore

Apache generates semaphores and when it can not generate more, you should get an error like this:

“No space left on device:mod_rewrite: could not create_rewrite: could not create rewrite_log_lockConfiguration Failed”

You should delete semaphores to fix it.

Listing and deleting semaphores :

# ipcs -s grep apache
# ipcs -s grep apache perl -e ‘while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}’

You should be able to start apache fine now.

Be the first to comment - What do you think?  Posted by ZACH - November 25, 2011 at 10:06 am

Categories: General   Tags: ,