Vagrant 2.2.6 on mac Os Catalina : Failed to start The Apache HTTP Server

41 views
Skip to first unread message

Agus Mahendra B

unread,
Oct 28, 2019, 8:21:40 PM10/28/19
to Vagrant

macOS Catalina 10.15
Vagrant 2.2.6 (installed via homestead)


When I do "vagrant ssh" and "flip" ngix to appache, the process fails around this spot:
nginx stopped
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
apache started


When I do "systemctl status apache2.service" showing like below:

vagrant@homestead:~$ systemctl status apache2.service
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Mon 2019-10-28 03:43:18 UTC; 26s ago
Process: 3468 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

Oct 28 03:43:18 homestead systemd[1]: Starting The Apache HTTP Server...
Oct 28 03:43:18 homestead apachectl[3468]: AH00526: Syntax error on line 7 of /etc/apache2/sites-enabled/landingpage.local-ssl.conf:
Oct 28 03:43:18 homestead apachectl[3468]: DocumentRoot takes one argument, Root directory of the document tree
Oct 28 03:43:18 homestead apachectl[3468]: Action 'start' failed.
Oct 28 03:43:18 homestead apachectl[3468]: The Apache error log may have more information.
Oct 28 03:43:18 homestead systemd[1]: apache2.service: Control process exited, code=exited status=1
Oct 28 03:43:18 homestead systemd[1]: apache2.service: Failed with result 'exit-code'.
Oct 28 03:43:18 homestead systemd[1]: Failed to start The Apache HTTP Server.


Has anyone experienced the same problem as me?

Alvaro Miranda Aguilera

unread,
Nov 25, 2019, 4:16:16 PM11/25/19
to vagra...@googlegroups.com
that is happening inside the VM.

so is not a vagrant issue at first sight

check the configuration file per error, seems line 7 is not good

Oct 28 03:43:18 homestead apachectl[3468]: AH00526: Syntax error on line 7 of /etc/apache2/sites-enabled/landingpage.local-ssl.conf:

alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/601e9b50-3409-4d6d-86f0-375ff7fcfdc8%40googlegroups.com.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages