How to deal with the problem that Vagrant starts and mounts VirtualBox can't open

When I start the Ubuntu virtual machine in Vbox (version 5.0.18), I encounter an error message:

See the following information under  VirtualBox :

NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

STATUS_OBJECT_NAME_NOT_FOUND (0 retries) (rc=-101)

Make sure the kernel module has been loaded successfully.

 

Error details:

 

 

 

Executing vagrant up in the terminal command will report the following error message:

Bringing machine 'default' up with 'virtualbox' provider...

There was an error while executing `VBoxManage`, a CLI used by Vagrant

for controlling VirtualBox. The command and stderr is shown below.

Command: ["list", "hostonlyifs"]

Stderr: VBoxManage.exe: error: Failed to create the VirtualBox object!

VBoxManage.exe: error: Code E_NOINTERFACE (0x80004002) - No such interface suppo

rted (extended info not available)

VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or

failed to start.

 

If the startup fails, you can try to reinstall vboxdrv.

Find the vboxdrv folder under the installation directory, such as C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv, right-click VBoxDrv.inf, select Install, and restart.

 

 

Guess you like

Origin blog.csdn.net/lchmyhua88/article/details/108363982