it was a bad idea to use the vestacp backup and restore function.

unfortunately i believe you are better off restoring every domain by hand.

[cc lang=”bash” escaped=”true” width=”600″]
systemctl status apache2.service

● apache2.service – LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Wed 2016-06-22 09:40:38 CEST; 3s ago
Process: 5568 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 5594 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Jun 22 09:40:38 dwaves.de apache2[5594]: Starting web server: apache2 failed!
Jun 22 09:40:38 dwaves.de apache2[5594]: The apache2 configtest failed. … (warning).
Jun 22 09:40:38 dwaves.de apache2[5594]: Output of config test was:
Jun 22 09:40:38 dwaves.de apache2[5594]: apache2: Syntax error on line 83 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apac… section
Jun 22 09:40:38 dwaves.de apache2[5594]: Action ‘configtest’ failed.
Jun 22 09:40:38 dwaves.de apache2[5594]: The Apache error log may have more information.
Jun 22 09:40:38 dwaves.de systemd[1]: apache2.service: control process exited, code=exited status=1
Jun 22 09:40:38 dwaves.de systemd[1]: Failed to start LSB: Apache2 web server.
Jun 22 09:40:38 dwaves.de systemd[1]: Unit apache2.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[/cc]

by accident i realized (turn syntax:on in vim)

[cc lang=”bash” escaped=”true” width=”600″]
vim /home/admin/conf/web/apache2.conf
[/cc]

there was one missing:

[cc lang=”bash” escaped=”true” width=”600″]

[/cc]

at the very end of the file.

I made some changes in the vestacp backend and it seems to have screwed up the apache2.conf

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin