在MacOS Big Sur升级上遇到Vagrant Up错误



我刚刚将我的mac操作系统从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. 

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

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

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

经过这些步骤,我能够再次"流浪"。

将 VirtualBox 更新到 6.1.16 为我做到了。 我没有更新流浪者

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

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

csrutil clear

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

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

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

虚拟盒子论坛的最后一条评论是帮助我迈出最后一步的原因。

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

将虚拟盒子升级到最新版本(目前为 6.1.16)对我有用。不必升级流浪版本。

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

相关内容

最新更新