Apache2 Error
Apache2 Error
Did I do something wrong?
How do I solve this?
Apache2 offline, does not start, does not restart
ubuntu-14.04-x86_64
V.:0.9.8 R17
Print:

Thanks!
How do I solve this?
Apache2 offline, does not start, does not restart
root@myserver:~# service apache2 start
* Starting web server apache2 *
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 83 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/conf.d/vesta.conf: Syntax error on line 35 of /home/admin/conf/web/sapache2.conf: </VirtualHost> without matching <VirtualHost> section
Action 'configtest' failed.
The Apache error log may have more information.
ubuntu-14.04-x86_64
V.:0.9.8 R17
Print:

Thanks!
Re: Apache2 Error
See /home/admin/conf/web/sapache2.conf
Re: Apache2 Error
Thanks Stesh!
Last edited by feliphe on Thu Dec 01, 2016 4:23 pm, edited 1 time in total.
Re: Apache2 Error
You need see this 3 files
/etc/apache2/apache2.conf:
/etc/apache2/conf.d/vesta.conf:
/home/admin/conf/web/sapache2.conf:
And check why you have and </VirtualHost>statement whitout a <virtualhost>
Maybe bad edited file.
I thing problem is from /home/admin/conf/web/sapache2.conf
You may can solve it whit v-rebuild-web-domains admin
The orther 2 files should not have a virtualhost directive.
/etc/apache2/apache2.conf:
/etc/apache2/conf.d/vesta.conf:
/home/admin/conf/web/sapache2.conf:
And check why you have and </VirtualHost>statement whitout a <virtualhost>
Maybe bad edited file.
I thing problem is from /home/admin/conf/web/sapache2.conf
You may can solve it whit v-rebuild-web-domains admin
The orther 2 files should not have a virtualhost directive.
Re: Apache2 Error
Thanks for helping! skamasle and Stesh
I deleted the contents of the file "sapache2.conf", returned it in the vesta panel, and started apache2.
Working now! Thanks!
Anyway, I backed up the file. Can I get an error while leaving the document blank? :O
OoOps! I see the correct location: "/home/admin/conf/web/sapache2.conf"Stesh wrote:See /home/admin/conf/web/sapache2.conf
I deleted the contents of the file "sapache2.conf", returned it in the vesta panel, and started apache2.
Working now! Thanks!
Anyway, I backed up the file. Can I get an error while leaving the document blank? :O