Vagrant VM Fails to Boot

Posted by Rob Wilkerson on Super User See other posts from Super User or by Rob Wilkerson
Published on 2013-06-26T16:20:42Z Indexed on 2013/06/26 16:23 UTC
Read the original article Hit count: 196

Filed under:
|

I have a Vagrant environment that requires me to forward port 80 so I bring it up under sudo on an OS X machine. This has always been fine until I recently upgraded to Vagrant 1.2.2. Now it fails to boot.

[default] Waiting for VM to boot. This can take a few minutes.
[default] Failed to connect to VM!
Failed to connect to VM via SSH. Please verify the VM successfully booted
by looking at the VirtualBox GUI.

Because I'm running under sudo, the machine never gets added to the Virtualbox GUI, but that's always been the case for this environment.

I don't get any indication that there was a problem with the additions -- a potential source of this error, from what I've read. I can bring things up just fine if I change to using port 8080 on the host machine. I can't use the app, but the VM itself loads up and provisions nicely.

As far as I can tell, the only thing that's changed is:

  1. I upgraded my Vagrant version
  2. I updated the project's Vagrantfile to use v2 syntax.

Anyone have any idea what I might be missing? I thought I'd be able to find this pretty easily, but it's quickly becoming a very real problem.

© Super User or respective owner

Related posts about virtualbox

Related posts about vagrant