Apache Wont Start
03-03-2015, 06:52 PM
(This post was last modified: 03-03-2015, 07:13 PM by ryf02.)
Hi all,
I have a server on digital ocean.
When i try to start apache i get this error
root@panel:~# service apache2 start
* Starting web server apache2 *
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 223 of /etc/apache2/apache2.conf: Syntax error on line 35 of /etc/sentora/configs/apache/httpd.conf: Syntax error on line 69 of /etc/sentora/configs/apache/httpd-vhosts.conf: Expected </Directory> but saw </virtualhost>
Action 'configtest' failed.
The Apache error log may have more information.
Now when i try to access the above files from putty it says permission denied.
Thanks,
Ryan
I have a server on digital ocean.
When i try to start apache i get this error
root@panel:~# service apache2 start
* Starting web server apache2 *
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 223 of /etc/apache2/apache2.conf: Syntax error on line 35 of /etc/sentora/configs/apache/httpd.conf: Syntax error on line 69 of /etc/sentora/configs/apache/httpd-vhosts.conf: Expected </Directory> but saw </virtualhost>
Action 'configtest' failed.
The Apache error log may have more information.
Now when i try to access the above files from putty it says permission denied.
Thanks,
Ryan