gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 04:43:00 24 4
gpt4 key购买 nike

我有一个基于 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com