Skip to content

Instantly share code, notes, and snippets.

@zeroDivisible
Last active December 26, 2015 23:29
Show Gist options
  • Save zeroDivisible/7230560 to your computer and use it in GitHub Desktop.
Save zeroDivisible/7230560 to your computer and use it in GitHub Desktop.
OSX + Vagrant + Virtualbox Issues.

After getting this error:

There was on 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: NS_ERROR_FAILURE 
VBoxManage: error: Failed to create the host-only adapter 
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface VBoxManage: error: Context: "int handleCreate(HandlerArg*, int, int*)" at line 68 of file VBoxManageHostonly.cpp

Solution

sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment