【问题标题】:Laravel Homestead error: Failed to create host-only adaptorLaravel Homestead 错误:无法创建仅主机适配器
【发布时间】:2015-02-12 09:40:07
【问题描述】:

此错误发生在所有具有专用网络 IP 的 Vagrant 盒子上。

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: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "int __cdecl handleCreate(struct HandlerArg *,int,int *)" at line 66 of file VBoxManageHostonly.cpp

我尝试了 composer install、手动安装、将 virtualbox 降级到 4.2.x - 没有任何效果。

请帮忙!

谢谢

【问题讨论】:

    标签: php laravel virtualbox laravel-5 homestead


    【解决方案1】:

    在带有专用网络的任何 vagrant box 的 Windows 7 主机上,这是一个常见的“问题”。

    Windows 主机用户帐户需要具有管理员权限。

    【讨论】:

    • 我的主机用户帐户是 admin,UAC 降为零,仍然出现此问题。任何想法? Win10/Vbox5
    • Win 10 有不同的问题。注释掉私有 IP 并添加一个端口转发 80->4567。然后导航到 localist:4567 而不是为我工作
    【解决方案2】:

    VirtualBox 5 中有一个已知的 bug # 14040。更新到 Vbox 5.0.9 对我有用。

    【讨论】:

      【解决方案3】:

      当我更新到 5.1.4 时,我在使用 virtualbox 5.0.26 时遇到了同样的问题!我正在使用 vagrant 1.9.1 版

      【讨论】:

        猜你喜欢
        • 2018-10-05
        • 2017-01-18
        • 2014-01-30
        • 1970-01-01
        • 2017-09-20
        • 2014-10-05
        • 2017-05-02
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多