vagrant - MacOs Big Sur 升级时遇到 Vagrant Up 错误
问题描述
我刚刚将我的 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.
有没有人知道如何解决这个问题?
解决方案
更新到 Big Sur 后,我遇到了同样的问题。我下载了最新版本的 Vagrant、Virtualbox 和 VirtualBox Extension Pack。实际上,我不知道是否需要安装扩展包。
在 MacOS 的系统偏好设置中,在隐私和安全中,我必须批准来自 Oracle 的更新。
在这些步骤之后,我能够再次“流浪”。
推荐阅读
- dialogflow-es - Dialogflow Facebook 集成不响应页面消息,而是响应回发
- php - SMTP 电子邮件未发送,因为 SMTP 主机不接受我的电子邮件地址
- java - 无法连接主机的 TCP 传输:localhost/127.0.0.1:4444 并且连接被拒绝连接
- xampp - 如何在同一网络上拥有两台服务器
- django - 如何在 Django UpdateView 中使用多个图像获取所有图像
- nfc - 向商店供应商、Google Pay、Paytm 等人发送资金/金钱的应用程序
- load-testing - 在模拟中使用节流时加特林添加暂停
- linux - 在 Hetzner 托管的附加域上安装 WordPress
- python - 如何在“for”循环中打印最大值?
- bash - sed 特定的精确数学