LOW COST JAVA PHP MYSQL CGI PERL
HOSTING SERVICE
LINUX WINDOWS CPANEL WHM PLESK
HOSTING PACKAGES
ECOMMERCE HOSTING ASP JSP MSSQL
FRONTPAGE HOSTING
CPANEL WHM RESELLER DEDICATED
SERVER WEB HOSTING

Apache Log Files >2GB

Should you find error messages in /etc/httpd/logs/error_log such as

[Tue Mar 28 04:29:42 2006] [notice] child pid 24546 exit signal File size limit exceeded (25)

This means that you have a log file that is great than 2GB in size. To fix this run

cd /etc/httpd/domlogs
du -sh * | grep [0-9]G

This should show you the file that is causing issues e.g. domain.com.log. To reset it, but loosing the webstats run

cd /etc/httpd/domlogs
rm domain.com.log
touch domain.com.log
/etc/init.d/httpd stop
/etc/init.d/httpd start

Do not use just an Apache restart but a full stop/start to make sure it closes all its old files

Bookmark on del.icio.us digg this

This post is compiled by eUKhost.com

Leave a Comment

You must be logged in to post a comment.