Browser cannot connect to VM
Issue Type
- Bug Report / Support Request
Your Environment
vagrant 2.0.1
Virtualbox 5.2.2
Your OS
- Windows (7 )
Summary
Hello. Though my VM successfully starts (no error), I cannot connect with my browser. This is what I get : "The connection has timed out The server at dashboard.drupalvm.test is taking too long to respond." (It's not a firewall issue : the drupal VM was previously working...) Ping drupalvm.test works well.
I tried then vagrant halt, vagrant destroy, and up. During the building, I get an issue about Vb Guest additions and a message :
Vagrant was unable to mount VirtualBox shared folders. This is usua
because the filesystem "vboxsf" is not available. This filesystem i
made available via the VirtualBox Guest Additions and kernel module
Please verify that these guest additions are properly installed in
guest. This is not a bug in Vagrant and is usually caused by a faul
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o uid=900,gid=900 vagrant /vagrant
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
Then I do : vagrant plugin install vagrant-vbguest, before vagrant up again.
and I get again the error above.
Then I vagrant ssh and do :
sudo ln -sf /opt/VBoxGuestAdditions-5.1.20/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf
(I read that /other is an error.)
Then I typed :
sudo ln -sf /opt/VBoxGuestAdditions-5.1.20/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf
At the end I get :
==> drupalvm: Running provisioner: ansible_local...
playbook does not exist on the guest: /vagrant/provisioning/playbook.yml
(though it exists indeed...)
What can I do please ?
Hi everybody I finally succeeded to set it up : if you encounter problems under Win 7, get back to virtual Box 5.1.30...
Instead of downgrading VirtualBox, this problem might be solved by updating the vagrant box (vagrant box update).
See #1628