Sometimes we find the error messages in /etc/httpd/logs/error_log as follows :-
[wpfmb type=’error’ theme=2][notice] child pid 24546 exit signal File size
limit exceeded (25)[/wpfmb]
This means that we have a log file that is greater than 2GB in size.
For cPanel serves you should set the log rotation from following link in WHM to avoid this :
WHM >> Service Configuration >> Apache Configuration >> Log Rotation
To fix this run the following :
cd /etc/httpd/domlogs du -sh * | grep [0-9]G
This will show you the file that is causing issues e.g. example.com.log
To reset it run:
cd /etc/httpd/domlogs rm example.com.log touch domain.com.log /etc/init.d/httpd stop /etc/init.d/httpd start
Previously we have discuss about how to disable or enable iptable firewall.