VBoxManage is unable to start vm code NS_ERROR_FAILURE ubuntu 16.04

by 1419636215   Last Updated January 12, 2018 22:02 PM

I recently upgraded to virtualbox 5.2.4 and vagrant 2.0.1 because of this issue. Since then, I haven't been able to run any of my vagrant boxes (some ubuntu, some centos). I get the following error when running vagrant up:

There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "ef47d1fc-4ed1-42cb-b564-09bc2bb43296", "--type", "headless"]

Stderr: VBoxManage: error: The virtual machine 'ishbook-centos' has terminated unexpectedly during startup with exit code 1 (0x1) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

When I just run vboxmanage without --type headless, I get a popup saying to run /sbin/vboxconfig.

RTR3InitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing


may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.

I've tried reinstalling virtualbox and the extension pack multiple times and reinstalling linux-headers and dkms as seen in answers to questions similar to this one, but nothing has worked. Any ideas?

Edit: Just tried it out on 5.1, but it's the same error, 5.0 just hangs my computer

Related Questions

Cannot reinstall virtualbox on ubuntu 16.04

Updated February 21, 2017 17:02 PM

No suitable module for running kernal found

Updated October 26, 2015 07:01 AM