Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Fix Apache starting Error- nothing in logs  (Read 13001 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Fix Apache starting Error- nothing in logs
« 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  :)