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

Related Posts:

  • No Related Posts


Online 24X7 Chat Support
 
 
Telephone
Toll Free
Online chat
 
Online 24X7 Email Support
 
Emails
 
 
 
Support
Support email
sales
Sales email
 
Billing
Billing email
 
   
Latest Tutorials & Articles (Updated Daily)
http://blog.eukhost.com
  Forums :
http://www.eukhost.com/forums/