"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]`}'
It should be fine now :)

This also works
ReplyDeleteTo remove Semaphores
# for id in `ipcs -s |grep 'owner' | awk '{print $2}'`;do ipcrm -s $id;echo Removing semaphoreid $id;done
To remove Shared Memory Segments
# for id in `ipcs -m |grep 'owner' | awk '{print $2}'`;do ipcrm -m $id;echo Removing SharedMemid $id;done
Output example:
# for id in `ipcs -s |grep apache | awk '{print $2}'`;do ipcrm -s $id;echo Removing semaphoreid $id;done