【发布时间】:2016-05-21 20:23:56
【问题描述】:
当我尝试运行 vagrant up 时出现此错误
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'laravel/homestead' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0.4.0
==> default: Loading metadata for box 'laravel/homestead'
default: URL: https://atlas.hashicorp.com/laravel/homestead
==> default: Adding box 'laravel/homestead' (v0.4.4) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/ve rsions/0.4.4/providers/virtualbox.box
default:
==> default: Successfully added box 'laravel/homestead' (v0.4.4) for 'virtualbox '!
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead-7
==> default: Clearing any previously set network interfaces...
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: Querying NetCfgInstanceId failed (0x00000002)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkI nterfaceWrap, interface IHostNetworkInterface
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct Han dlerArg *)" at line 71 of file VBoxManageHostonly.cpp
操作系统:Windows 10
【问题讨论】:
-
你试过用谷歌搜索“code E_FAIL (0x80004005)”吗?有人说,重新安装 vbox 有帮助(有些则没有):virtualbox.org/ticket/12182 + forums.virtualbox.org/viewtopic.php?f=6&t=76668
标签: php laravel virtualbox