Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Encountered Vagrant Up error on MacOs Big Sur Upgrade [closed]

I just upgraded my mac OS from Catalina to Big Sur. My vagrant used to be working normally before and then I encountered this issue. (Vagrant version: 2.2.13)

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

When I tried to start it manually on the VirtualBox this is the return message:

Kernel driver not installed (rc=-1908)

Make sure the kernel module has been loaded successfully.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

Does anyone have a clue on how to fix this issue?

like image 255
Sam Avatar asked Nov 13 '20 07:11

Sam


3 Answers

I had the same issue after updating to Big Sur. I downloaded the latest versions of Vagrant, Virtualbox and VirtualBox Extension Pack. Actually, I don't know if installing the Extension Pack was necessary.

And in the system preferences of MacOS, in Privacy and Security, I had to approve the update from Oracle.

After these steps, I was able to 'vagrant up' again.

like image 110
Lester Avatar answered Oct 19 '22 17:10

Lester


Updating VirtualBox to 6.1.16 did it for me. I did not update Vagrant

like image 12
Lala Avatar answered Oct 19 '22 17:10

Lala


Updating VirtualBox to 6.1.16 did it for me, not working with 6.0.24. Also reinstalled Vagrant but not sure if necessary.

like image 3
Franjo Pintarić Avatar answered Oct 19 '22 17:10

Franjo Pintarić