23

我刚刚将我的 mac OS 从 Catalina 升级到了 Big Sur。我的流浪汉以前工作正常,然后我遇到了这个问题。(流浪版本: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

当我尝试在 VirtualBox 上手动启动它时,这是返回消息:

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. 

有没有人知道如何解决这个问题?

4

7 回答 7

29

更新到 Big Sur 后,我遇到了同样的问题。我下载了最新版本的 Vagrant、Virtualbox 和 VirtualBox Extension Pack。实际上,我不知道是否需要安装扩展包。

在 MacOS 的系统偏好设置中,在隐私和安全中,我必须批准来自 Oracle 的更新。

在这些步骤之后,我能够再次“流浪”。

于 2020-11-13T13:22:17.387 回答
12

将 VirtualBox 更新到 6.1.16 为我做到了。我没有更新 Vagrant

于 2020-11-15T06:49:37.780 回答
3

将 VirtualBox 更新到 6.1.16 对我来说是这样,而不是使用 6.0.24。还重新安装了 Vagrant,但不确定是否有必要。

于 2020-11-13T13:09:40.253 回答
2

隐私和安全中的允许 oracle 按钮从未出现在我的设置中。最终我通过在恢复模式下启动并运行命令让它工作了

csrutil clear

之后,我能够在安全和隐私方面允许 Oracle。

于 2020-11-16T11:47:46.453 回答
0

通过重新安装 Vagrant 和 VirtualBox 来修复 :)

于 2020-11-13T08:23:36.323 回答
0

在更新到 Big Sur 后,我今天也遇到了这个问题。使用自制软件更新 VirtualBox (v. 6.1.16) 并在安全和隐私中批准并没有解决问题。我必须在安全和隐私选项卡中提供 VirtualBox 全盘访问Privacy来解决这个问题。

virtualbox 论坛的最后一条评论帮助我完成了最后一步。

https://forums.virtualbox.org/viewtopic.php?f=39&t=98763#p488757

于 2020-11-18T00:53:13.047 回答
0

将虚拟盒升级到最新版本(此时为 6.1.16)对我有用。不必升级 vagrant 版本。

vagrant up升级虚拟盒后立即工作。

于 2020-11-25T13:42:01.760 回答