Skip to content

Instantly share code, notes, and snippets.

@jasonsee
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonsee/8863772 to your computer and use it in GitHub Desktop.
Save jasonsee/8863772 to your computer and use it in GitHub Desktop.
Fixing Vagrant Up errors
Run this:
sudo /Library/StartupItems/VirtualBox/VirtualBox restart
If you see this:
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: 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment