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

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.