Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to run vagrant up due to Vbox error (MS 81.)

I am on Windows 8.1 When i attempt to install vagrant and run it with virtual box i always get the following error.

"The provider 'virtualbox' that was requested to back the machine 'default' is reporting that it isn't usable on this system. The reason is shown below:

Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed. Vagrant uses the VBoxManage binary that ships with VirtualBox, and requires this to be available on the PATH. If VirtualBox is installed, please find the VBoxManage binary and add it to the PATH environmental variable."

I have tried different things such as uninstalling both virtual box and vagrant and re-installing them. I have tried installing vagrant first then vbox and the other way around also but no change.

I am new to vagrant so if anyone can assist please.

like image 291
clonerworks Avatar asked Dec 12 '22 05:12

clonerworks


2 Answers

I bet that you're using the latest VirtualBox version (4.3.12). If so, there's a known issue which will be addressed in Vagrant 1.6.3:

https://github.com/mitchellh/vagrant/issues/3852

As a workaround you can install VirtualBox 4.3.10 and it will work flawlessly.

like image 194
Emyl Avatar answered Jan 22 '23 07:01

Emyl


As Emyl said, you can either downgrade your VirtualBox or upgrade your Vagrant to 1.6.3(as the issue has been fixed in this version).

But if you want to have a quick fix on this issue you can simply change the environmental variable name for the Virtual Box installation path from VBOX_MSI_INSTALL_PATH to VBOX_INSTALL_PATH

(This PC -> Advanced System Settings -> Environmental Variables -> Search for VBOX_MSI_INSTALL_PATH and change it to VBOX_INSTALL_PATH)

Make sure to restart your terminal before doing vagrant up again.

You are done!

like image 44
Sri Harsha Kappala Avatar answered Jan 22 '23 05:01

Sri Harsha Kappala