Home » Software Development

Fixing vagrant startup error

13 June 2014 No Comment

If you are using vagrant on Windows 7+, it is likely that you may encounter the below errors after running vagrant up command.

Bringing machine 'default' up with 'virtualbox' provider...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["list", "hostonlyifs"]

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.

 
Follow the steps below to fix the above issue:
Resetting DCOM Permissions on VirtualBox Application
– Open Start | Administrative Tools | Computers Services | Computers | My Computer | DCOM Config
– Search for VirtualBox Application
– Right-Click and select Properties
– Select Security
– Change Launch and Activation Permissions radio button to Customize and Apply
– Open command prompt as an administrator, cd to the vagrant instance and type “vagrant up”
– The vagrant instance would start successfully without any errors

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image