stuff to buy!!

Showing posts with label httpd errors. Show all posts
Showing posts with label httpd errors. Show all posts

Tuesday, February 2, 2010

plesk rebuild apache httpd.conf / Some of Horde's configuration files are missing or unreadable

So here I had an issue when plesk did it's update, where the configuration files were all jacked up, and was getting horde errors??, which was odd

This was all caused it seems by plesks update!

Here is the fix!

rebuild the httpd.include conf fileS!

http://www.cherpec.com/2009/01/plesk-rebuild-apache-configuration-files/


Sometimes you need to rebuild all your httpd.include files, it can be done with websrvmng command:

==
/usr/local/psa/admin/bin/websrvmng -av
==

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!!

Buy more Stuff!!!