VirtualBox alert - current version incompatible with macOS Mojave

Vagrant ‘VBoxManage’ issue on Mojave

2nd November 2018

Reading Time:

With our team production meeting out of the way this morning, I checked my emails and tried to fire up Vagrant to get down to work. As soon as I ran ‘vagrant up’ I go the following error:

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 94 of file VBoxManageHostonly.cpp

I’ve had some issues running Vagrant after updating macOS in the past, but thankfully this time around it was an easy fix.

I tried to run VirtualBox and straight discovered that the version I was running wasn’t compatible with Mojave. Once you update to Mojave you’ll need to upgrade to VirtualBox 5.2.13 or higher – I’m now running 5.2.20 without any problems.

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *

About the author

Rik Kendell is a developer, designer and writer in Leeds, UK, specialising in responsive WordPress websites. With over 10 years experience in the industry, Rik has worked on award-winning teams at agencies, in-house and as a freelancer. Rik has worked with clients ranging from the NHS, Sky and Skipton Building Society to McDonalds, Lamb’s Navy Rum and Crabbie’s Ginger Beer.

Outside of work Rik is also a keen writer, an amateur woodworker, gamer and foodie. His blog posts, reviews and Tweets have been published by the BBC, the Evening Standard, the Guardian and the Independent. He has written guest posts for a number of agencies and industry websites.