Today, I just came across this error: Apache: No space left on device: Couldn’t create accept lock. I can’t really remember if I did something or modified anything to my current apache configuration but for some reason I got a notification that my web server is down. I tried to restart apache and although /etc/init.d/httpd start was saying that apache has started successfully, nothing happend. Checking apache logs I have discovered the error above.

My first instinct was to check disk space, which I did. I had over 25 GB free space so the free space was not an issue. Everything I tried was totally in vain. I even tried to remove the apache .rpm package and reinstall it from my custom built .rpm. Nothing.

So when you have an issue like this and you don’t know what to do, you just google it. And after a couple of minutes of reading, I found the answer and the solution as well on a nice blog article. (many thanks to the blog owner, he’s a live savior).

Long story short, if you find yourself in a similar situation you have to do the following:

APACHE running on RedHat or CentOS linux distributions:

APACHE running on Debian linux distribution:

This should fix your problems and now you have a running apache (httpd) web server!


About Author

I am a linux passionate and currently working as a Linux Senior System Administrator. I also am a freelancer and help people to complete different jobs. You can hire me on

Leave A Reply

Get new posts by email: