Hello,
Apache is not reading custom folders under /var/www when the machine is
booting up. It's throwing this error:
>>>
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor
preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-04-18 23:07:19 WIB;
1min 30s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 1210 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/
FAILURE)
Process: 1018 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited
, status=1/FAILURE)
Main PID: 1018 (code=exited, status=1/FAILURE)
Apr 18 23:07:19 abox-lamp httpd[1018]: (2)No such file or directory: AH02291
: Cannot access directory '/var/www/example2.dev/' for error log of vhost
defined at /etc/httpd/sites-enabled/e...le2.dev.conf:1
Apr 18 23:07:19 abox-lamp httpd[1018]: (2)No such file or directory: AH02291
: Cannot access directory '/var/www/example1.dev/' for error log of vhost
defined at /etc/httpd/sites-enabled/e...le1.dev.conf:1
Apr 18 23:07:19 abox-lamp httpd[1018]: (2)No such file or directory: AH02291
: Cannot access directory '/var/www/abox.dev/' for error log of vhost
defined at /etc/httpd/sites-enabled/abox.dev.conf:1
Apr 18 23:07:19 abox-lamp httpd[1018]: AH00014: Configuration check failed
Apr 18 23:07:19 abox-lamp systemd[1]: httpd.service: main process exited,
code=exited, status=1/FAILURE
Apr 18 23:07:19 abox-lamp kill[1210]: kill: cannot find process ""
Apr 18 23:07:19 abox-lamp systemd[1]: httpd.service: control process exited,
code=exited status=1
Apr 18 23:07:19 abox-lamp systemd[1]: Failed to start The Apache HTTP Server
.
Apr 18 23:07:19 abox-lamp systemd[1]: Unit httpd.service entered failed
state.
Apr 18 23:07:19 abox-lamp systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
<<<
I'm assuming at this point vagrant has no access to the share folder
through virtualbox, not until at a later stage. Although, once I 'vagrant
ssh' into the box and start apache again it works fine without throwing any
error.
Any help is appreciate it.
Thank you.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/5b801f2d-c7e9-4b71-b2b4-fc665d5f1152%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.