Easy Hosting Control Panel (EHCP) :: Force Edition
EHCP Force Support => Technical Help => Topic started by: brandinhess on October 30, 2015, 04:31:04 pm
-
My server had to be restarted a couple days ago and now I can't access any of the EHCP system. Apache won't start and everything else won't start as well. What can I do to fix this?
Thanks,
Brandin Hess - KL4BR
-
Hi Brandin,
What do the logs say?
Check the apache error logs:
sudo cat /var/log/apache2/error.log
sudo cat /var/log/apache2/error.log.1
They should tell you why the web server will no longer start. Please post your output of the logs here if you are not sure what to do.
-
The first command doesn't display anything and the second command shows this:
cat: /var/log/apache2/error.log.1: No such file or directory
Thanks,
Brandin Hess - KL4BR
-
The first command doesn't display anything and the second command shows this:
cat: /var/log/apache2/error.log.1: No such file or directory
Thanks,
Brandin Hess - KL4BR
Sorry, make sure you run them with sudo access. What version of Ubuntu are you running? Do you see a log file for apache in /var/log or /var/log/apache2?
sudo -i
cd /var/log
ls -alh
and
sudo -i
cd /var/log/apache2
ls -alh
You need to find the Apache log. It could be in a different location depending on your operating system and version. When you do, tail or cat the file to see what's going on.
-
I am running Ubuntu Server 14.04.3 LTS. I have log files and checked them. All log files are blank.
Thanks,
Brandin Hess - KL4BR
-
I am running Ubuntu Server 14.04.3 LTS. I have log files and checked them. All log files are blank.
Thanks,
Brandin Hess - KL4BR
And what happens when you run this command?
sudo service apache2 restart