vagrant - 执行 `VBoxManage` 时出错(VBoxManage:错误:详细信息:代码 NS_ERROR_FAILURE (0x80004005),组件)
问题描述
运行时出现以下错误vagrant up
执行“VBoxManage”时出错,这是 Vagrant 用于控制 VirtualBox 的 CLI。命令和标准错误如下所示。
命令:["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
解决方案
打开终端并运行打击命令来解决您的问题。
sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart
推荐阅读
- r - ggplot2 单个图中的多个 geom_point
- java - 是否有一个更简单的术语代表“非破坏性设置器”?
- django - 从客户端完成文件上传时的 Django FileField/ImageField 验证
- javascript - R闪亮:checkboxGroupInput在复选框之间插入地标
- sql - 在同一列中获取上一行
- javascript - pdf-lib:无法在扫描的 pdf 中绘制文本
- javascript - on Change 没有捕获编辑器的最后一个字符
- javascript - 如何隐藏特殊符号
标签
- php - yii 中的 foreach 创建命令
- azure-active-directory - 从外部公司网络限制登录 Office 365