stuff to buy!!

Wednesday, January 20, 2010

whm/cpanel apache wont/fails to start : waitpid(-1, /etc/init.d/httpd: line 83: 21417 File size limit exceeded$HTTPD -DS S

I was having issues with a server where apache just stopped working.

Issue :

When issuing a restart command I was getting the following error.

==
/etc/init.d/httpd: line 83: 21417 File size limit exceeded$HTTPD -DS S
==

The problem was that the httpd/apache logs had grown too large in size for apache to handle? There is a 2Gb limit on log files

==
/usr/local/apache/logs/
==

You can verify the file size with the the following command.

==
ls -hS
==

The larger files will be at the top, you can also pipe it to less if you don't want to scroll up.

Resolution :

Move the file or otherwise remove it if you don't need it.

Start apache again!

Have fun!!

No comments:

Buy more Stuff!!!