Easy Hosting Control Panel (EHCP) :: Force Edition

EHCP Force Support => Technical Help => Topic started by: brandinhess on October 30, 2015, 04:31:04 pm

Title: EHCP will not start after reboot
Post 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
Title: Re: EHCP will not start after reboot
Post by: earnolmartin on October 30, 2015, 08:22:59 pm
Hi Brandin,

What do the logs say? 

Check the apache error logs:

Code: [Select]
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.
Title: Re: EHCP will not start after reboot
Post by: brandinhess on October 30, 2015, 09:01:05 pm
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
Title: Re: EHCP will not start after reboot
Post by: earnolmartin on October 30, 2015, 09:22:51 pm
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? 

Code: [Select]
sudo -i
cd /var/log
ls -alh

and

Code: [Select]
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.
Title: Re: EHCP will not start after reboot
Post by: brandinhess on October 30, 2015, 09:50:31 pm
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
Title: Re: EHCP will not start after reboot
Post by: earnolmartin on October 31, 2015, 01:01:11 am
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?

Code: [Select]
sudo service apache2 restart