Apache error-(28)No space left on device: Couldn't create accept lock

Scenario- Apache has stopped and is getting the error message below while starting-

[Sat Aug 16 02:22:49 2014] [emerg] (28)No space left on device: Couldn't create accept lock

Possible cause- Some semaphores might be stuck

Solution- Check semaphores on the server by using the command below
[[email protected] ~]# ipcs -s

Clear semaphores out with the command below
[[email protected] ~]# for i in `ipcs -s | awk '/httpd/ {print $2}'`; do (ipcrm -s $i); done

Start Apache now
[[email protected] ~]# /etc/init.d/httpd start

Manoj | Saturday 16 August 2014 - 02:34 am | ΒΆ | Default | No comments