alexandreesl / vagrantpoc

vagrantpoc
0 stars 0 forks source link

Vboxmanage error while executing vagrant file #1

Closed nabobnagari closed 7 years ago

nabobnagari commented 7 years ago

Error cause :

There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

C:\junk\vagrant_test\test1>vagrant up Bringing machine 'web' up with 'virtualbox' provider... ==> web: Box 'hashicorp/precise32' could not be found. Attempting to find and install... web: Box Provider: virtualbox web: Box Version: >= 0 ==> web: Loading metadata for box 'hashicorp/precise32' web: URL: https://atlas.hashicorp.com/hashicorp/precise32 ==> web: Adding box 'hashicorp/precise32' (v1.0.0) for provider: virtualbox web: Downloading: https://atlas.hashicorp.com/hashicorp/boxes/precise32/versions/1.0.0/providers/virtualbox.box web: Progress: 100% (Rate: 1039k/s, Estimated time remaining: --:--:--) ==> web: Successfully added box 'hashicorp/precise32' (v1.0.0) for 'virtualbox'! ==> web: Importing base box 'hashicorp/precise32'... ==> web: Matching MAC address for NAT networking... ==> web: Checking if box 'hashicorp/precise32' is up to date... ==> web: Setting the name of the VM: test1_web_1485746550735_28837 ==> web: Clearing any previously set network interfaces... **There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%... Progress state: E_INVALIDARG VBoxManage.exe: error: Failed to create the host-only adapter VBoxManage.exe: error: Assertion failed: [!aInterfaceName.isEmpty()] at 'F:\tinderbox\win-5.0\src\VBox\Main\src-server\HostNetworkInterfaceImpl.cpp' (74) in long c decl HostNetworkInterface::init(class com::Bstr,class com::Bstr,class com::Guid,enum MIDL_MIDL_itf_VirtualBox_0000_0000_0036). VBoxManage.exe: error: Please contact the product vendor! VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface VBoxManage.exe: error: Context: "enum RTEXITCODE cdecl handleCreate(struct HandlerArg *)" at line 71 of file VBoxManageHostonly.cpp**

nabobnagari commented 7 years ago

It got resolved, after rebooting machine.