2

现在,我在各种 Stack 网站和GitHub. 但是,在尝试了他们推荐的一切之后,我的环境仍然无法正常工作,这就是我提出新问题的原因。

在升级到 之前Monterayvagrant up会成功运行。但是,自从升级以来,我看到以下错误消息:

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

详情

Vagrant版本2.2.19

VirtualBox版本6.1

我试过的:

  1. 完全卸载和重新安装VagrantVirtualBox。还授予了权限Security and Privacy
  2. 我试图强制gui而不是按照这里这里的建议headless设置v.gui = true我。Vagrantfile
  3. 我已经尝试安装旧版本的VirtualBox,看看它是否解决了这个问题。
  4. 尝试安装VirtualBox扩展程序,重新启动我的 Mac 并运行vagrant up,但没有任何变化。请参阅此处接受的答案以了解我的方法

我已经没有办法尝试了。想知道是否有人有任何替代方法,因为我很难过。

4

0 回答 0