Page 1 of 1

vagrant up fails with VirtualBox 4.2.12

Posted: 18. Apr 2013, 09:22
by hex
I am running VirtualBox 4.2.12 r84980 on Windows 7 x64 with Vagrant version 1.2.1 and I noticed that vagrant up fails to run when Oracle VM VirtualBox Manager is not running. It throws this error:

Code: Select all

Bringing machine 'default' up with 'virtualbox' provider...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["list", "vms"]

Stderr: VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execution failed (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or failed to start.
If I keep the Oracle VM VirtualBox Manager open everything runs ok.
This started to happen when I upgraded VirtualBox from 4.2.10 r84105 to 4.2.12 r84980.

I was wondering how can I fix this or what is the problem?

Re: vagrant up fails with VirtualBox 4.2.12

Posted: 18. Apr 2013, 10:20
by noteirak
Vagrant is a third party product and is not supported here.
About the Virtualbox error, there is no way to tell how you got there in the first place, since the product could have done virtually anything and everything.

Best would be to seek support at Vagrant directly, or use Virtualbox withouth it if you seek support here.

Re: vagrant up fails with VirtualBox 4.2.12

Posted: 3. May 2013, 18:34
by irvingpop
I experienced the same issue, here's how I resolved it:

1. Stop/kill all vagrant and virtualbox processes
2. Go to your home directory (usually C:\Users\<username> )
3. Rename or delete .vagrant.d and .Virtualbox