laravel5.1 homestead0.2.6 安裝中,在vagrant up命令時出錯,大家有遇到同樣問題嗎?

來源:互聯網
上載者:User
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;
都出現同樣的錯誤,錯誤資訊如下:

--------------------------------------------$ vagrant upBringing 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 Vagrantfor controlling VirtualBox. The command and stderr is shown below.Command: ["hostonlyif", "create"]Stderr: 0%...Progress state: E_FAILVBoxManage.exe: error: Failed to create the host-only adapterVBoxManage.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------------------------------------------------------------

大家怎麼解決的?

回複內容:

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;
都出現同樣的錯誤,錯誤資訊如下:

--------------------------------------------$ vagrant upBringing 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 Vagrantfor controlling VirtualBox. The command and stderr is shown below.Command: ["hostonlyif", "create"]Stderr: 0%...Progress state: E_FAILVBoxManage.exe: error: Failed to create the host-only adapterVBoxManage.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------------------------------------------------------------

大家怎麼解決的?

你先試試我的方案,明天我給同事裝的時候,再來檢測一下可行度。還有就是你現在這個問題真沒遇到過,我明天再試一下virtualbox的4.3.28最新版本有木有問題

http://wenda.golaravel.com/question/1359

Failed to create the host-only adapter 不能建立host-only adapter,你試把原來的刪掉,或者用管理員權限運行

你這個貌似不是配置方面的問題,是VirtualBox設定或者硬體虛擬化沒開吧。

  • 相關文章

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.