Admin-Ahead Community
Linux => Control Panels => DirectAdmin => Topic started by: mohitht on January 15, 2014, 08:39:34 pm
-
Hi All,
If we got an error with an apache we will check the error logs. Sometimes the error log will be full and Apache can't able to start to check this type the following command in terminal
# cd /var/log/httpd
# ls -lS | less
To avoid this problem is to remove the logs, and restart the Apache web server by
# cd /var/log/httpd/
# rm -f error_log
# rm -f access_log
# rm -f suexec_log
# rm -f fpexec_log
# /sbin/service httpd restart
That's it :)