Now, I've seen a few questions regarding my issue on various Stack websites and also on GitHub
. However, after trying everything they have recommended, my environment still doesn't work, which is why I'm opening a new question.
Prior upgrading to Monteray
, vagrant up
would run successfully. But, ever since the upgrade, I see the following error message on:
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 HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
Details:
Vagrant
version 2.2.19
VirtualBox
version 6.1
What I've tried:
- Complete uninstalls and re-installs of
Vagrant
andVirtualBox
. Permissions have also be granted inSecurity and Privacy
. - I've tried to force
gui
rather thanheadless
by settingv.gui = true
in myVagrantfile
as suggested here and here. - I've tried installing older versions of
VirtualBox
to see if it solved the issue. - Tried installing the
VirtualBox
extension, restarted my Mac and ranvagrant up
, but no change. See accepted answer here for my approach.
I've ran out of avenues to try. Wondering if anyone had any alternative approaches as I'm stumped.
vagrant up
, I now see no errors. However, none of my sites load. When going tohttp://vvv.test/
, it doesn't load either. Is it the same for you? – Selenodont