networking - 奇怪的 Vagrant 错误消息 : 'Unable to create a host network interface'

标签 networking vagrant

我有一台基于 VirtualBox 的 Vagrant 机器,但有一些问题(请参阅 Vagrant crashes depending on physical network )。现在我尝试在另一台硬件(使用 OS X Mavericks)上运行它,并收到以下错误消息:

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: VBoxManage: error: Unable to create a host network interface
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Host,
interface IHost, callee nsISupports
Context: "CreateHostOnlyNetworkInterface (hif.asOutParam(),
progress.asOutParam())" at line 64 of file VBoxManageHostonly.cpp

这是什么意思?

为了出现错误,我运行了

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...

...然后就崩溃了。有什么想法吗?

哦,顺便说一句:这是 Vagrant 1.3.5 和 VirtualBox 4.1.18。

最佳答案

sudo /Library/StartupItems/VirtualBox/VirtualBox restart

为我工作,请参阅 https://coderwall.com/p/ydma0q

关于networking - 奇怪的 Vagrant 错误消息 : 'Unable to create a host network interface' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20418895/

相关文章:

vagrant - Windows 上的 Rsync - dup() 输入/输出/错误失败

vagrant - Vagrant 框无法删除-即使list命令列出了它,remove命令仍未找到它

python - 是否可以在 python 中使用 NetworkX 控制节点绘制的顺序?

java - 当数据包未从服务器发送时,如何在 UDP 客户端中设置超时?

java - 如何通过其他计算机的桌面应用程序访问存储在不同计算机上的oracle数据库

vagrant - Weblogic + Docker + Vagrant = 连接问题

linux - 有没有办法检查服务器上某个端口是否打开?

networking - 为什么 DNS 请求中句点的十六进制值不是 0x2E,为什么会发生变化?

Vagrant + Docker 上的 Symfony 2 应用程序

windows - SSH 到 Windows 中的 Vagrant box?