ZPanel on Ubuntu Droplet Problem

April 13, 2014 1.3k views
I've been running ZPanel on top of Ubuntu for about three months with no major issues. I was in ZPanel earlier today and all was fine as I added another domain through the GUI. I can SSH into my droplet, but for some reason now ZPanel is inaccessible and all sites on my droplet are not resolving. Any helpful commands to try and get ZPanel to respond?
3 Answers
I located the following issue:

Setting up apache2-mpm-prefork (2.2.22-1ubuntu1.5) ...
* Starting web server apache2 Syntax error on line 613 of /etc/zpanel/configs/apache/httpd-vhosts.conf:
cannot occur within section
Action 'start' failed.
The Apache error log may have more information.
invoke-rc.d: initscript apache2, action "start" failed.


I think a reboot might have corrupted my conf file....any thoughts?

I have a similar problem. zPanel overwrites the httpd-vhosts.conf file every time apache restarts. When zPanel (10.1.1) creates virtual domain entries in httpd-vhosts.conf it includes the entry:

<location /cgi-bin>
AddHandler cgi-script .cgi .pl
Options ExecCGI -Indexes

Unfortunately this includes an error (the - in front of Indexes) should not be there and causes current versions of apache to fail to restart. I can manually edit this file (multiple entries, one for each virtual domain) but I have to do this every time the server or apache restarts. Any suggestions?

I've stopped using ZPanel soon after having a series of problems. I now use Serverpilot.io....quite a difference.

Have another answer? Share your knowledge.