vagrant - 在 MacOs Big Sur 升级时遇到 Vagrant Up 错误

标签 vagrant virtualbox macos-big-sur

关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

9 个月前关闭。




Improve this question




我刚刚将我的 mac OS 从 Catalina 升级到 Big Sur。我的 Vagrant 以前工作正常,然后我遇到了这个问题。 ( Vagrant 版本: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. 
有没有人知道如何解决这个问题?

最佳答案

更新到 Big Sur 后,我遇到了同样的问题。我下载了最新版本的 Vagrant、Virtualbox 和 VirtualBox 扩展包。实际上,我不知道是否需要安装扩展包。
在 MacOS 的系统首选项中,在隐私和安全中,我必须批准来自 Oracle 的更新。
在这些步骤之后,我能够再次“Vagrant ”。

关于vagrant - 在 MacOs Big Sur 升级时遇到 Vagrant Up 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64816944/

相关文章:

ruby - 使用 Veewee 创建 VirtualBox 时如何传输一些文件

ssh - 无法 ssh 到 vagrant + virtualbox(来自 vmware)

php - 如何在 macOS big Sur 上使用 MAMP PHP

ubuntu - Vagrant guest 机器进入无效状态

windows - 由于 Vbox 错误,无法运行 vagrant up (MS 81.)

postgresql - Vagrant postgres ssh隧道

elasticsearch - boot2docker在本地主机上访问elasticsearch

python-3.x - 如何在 Mac OS X Big Sur 上安装 Python 3.9 的 pandas 模块?

ruby - 在 Mac Big Sur M1 上安装 Ruby 2.2.9 时出现问题

Vagrant 没有显示任何可用的网络接口(interface)