MAC: vagrant up : keep getting error - VBoxManage: error: Failed to create the host-only adapter


i am keep getting following error when trying to up my vm with vagrant. I installed vagrant on my mac and trying out to bringup nagois vm setup up.

vagrant config file contains following

enter code here

Vagrant.configure("2") do |config|
   config.vm.define "nagios" do |nagios| "forwarded_port", guest: 80, host: 8080, host_ip: "" "private_network", ip: ""
     nagios.vm.synced_folder "nagios/", "/usr/local/nagios/etc"
     nagios.vm.synced_folder "nagiosgraph/", "/usr/local/nagiosgraph/etc" = "bento/ubuntu-16.04"

==> web: Clearing any previously set network interfaces... 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

asked on Stack Overflow May 20, 2020 by user7180655

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0