• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

2021-09-24

武飞扬头像
yiluohan0307
帮助3

macOS big sur vagrant up无法正常启动

vagrant up报如下错误:

==> hdp1: Setting the name of the VM: hdp1
==> hdp1: Clearing any previously set network interfaces...
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

mac命令行执行如下命令,然后vagrant up解决!然而这种方法重启后需要重新执行这个命令才行。

sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart

后来发现官网的更新说明,将virtualbox降级到6.1.16能够完美解决上述问题。
学新通
安装时会报错,按照如下处理即可。
学新通

参考资料

https://stackoverflow.com/questions/21069908/vboxmanage-error-failed-to-create-the-host-only-adapter?page=2&tab=votes#tab-top

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /boutique/detail/tanhehbicj
系列文章
更多 icon
同类精品
更多 icon
继续加载