Heim > Artikel > Backend-Entwicklung > laravel5.1 homestead0.2.6 安装中,在vagrant up命令时出错,大家有遇到同样问题么?
laravel homestead安装过程中,在vagrant up命令时出错,大家有遇到同样问题么?
laravel版本:5.1
homestead版本:0.2.6,最新的0.2.7下载后说box文件有错误,不能使用。
在网上搜索了一下,一般说是virtualbox的bug,
我试了以下四个版本
4.3.28;
4.3.26;
4.3.24;
4.2.30;
都出现同样的错误,错误信息如下:
<code>-------------------------------------------- $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'laravel/homestead'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: homestead ==> 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: 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 ------------------------------------------------------------ </code>
大家怎么解决的?
laravel homestead安装过程中,在vagrant up命令时出错,大家有遇到同样问题么?
laravel版本:5.1
homestead版本:0.2.6,最新的0.2.7下载后说box文件有错误,不能使用。
在网上搜索了一下,一般说是virtualbox的bug,
我试了以下四个版本
4.3.28;
4.3.26;
4.3.24;
4.2.30;
都出现同样的错误,错误信息如下:
<code>-------------------------------------------- $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'laravel/homestead'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: homestead ==> 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: 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 ------------------------------------------------------------ </code>
大家怎么解决的?
你先试试我的方案,明天我给同事装的时候,再来检测一下可行度。还有就是你现在这个问题真没遇到过,我明天再试一下virtualbox的4.3.28最新版本有木有问题
http://wenda.golaravel.com/question/1359
Failed to create the host-only adapter 不能创建host-only adapter,你试把原来的删掉,或者用管理员权限运行
你这个貌似不是配置方面的问题,是VirtualBox设置或者硬件虚拟化没开吧。