执行`VBoxManage` 时出错(VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ) [英] There was an error while executing `VBoxManage` ( VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component )
问题描述
运行 vagrant up
执行 Vagrant 使用的 CLIVBoxManage"时出错用于控制 VirtualBox.命令和标准错误如下所示.
There was an error while executing "VBoxManage", a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.
命令:["hostonlyif", "create"]
Command: ["hostonlyif", "create"]
Stderr:0%...进度状态:NS_ERROR_FAILUREVBoxManage:错误:无法创建仅主机适配器VBoxManage:错误:VBoxNetAdpCtl:添加新界面时出错:无法打开/dev/vboxnetctl:没有那个文件或目录VBoxManage:错误:详细信息:代码 NS_ERROR_FAILURE (0x80004005),组件 HostNetworkInterfaceWrap,接口 IHostNetworkInterfaceVBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
推荐答案
打开终端并运行blow命令来解决你的问题.
Open terminal and run blow command to solve your problem.
sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart
这篇关于执行`VBoxManage` 时出错(VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component )的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!