2016-11-23 27 views
0

enter image description here 按照https://laravel.com/docs/4.2/homestead,I的說明,在昨天WIN7上安裝了使用vagrant 1.8.0和Virtual box 5.1.10的laravel宅基地。 但是計算機意外斷電。當我重新啓動電腦,我得到了這些錯誤:不能流浪上拉拉維爾宅基地

[email protected] MINGW64 ~/Homestead (master) 

$ vagrant up 
Bringing machine 'homestead-7' up with 'virtualbox' provider... 
==> homestead-7: Checking if box 'laravel/homestead' is up to date... 
==> homestead-7: Clearing any previously set forwarded ports... 
==> homestead-7: Clearing any previously set network interfaces... 
==> homestead-7: Preparing network interfaces based on configuration... 
    homestead-7: Adapter 1: nat 
    homestead-7: Adapter 2: hostonly 
==> homestead-7: Forwarding ports... 
    homestead-7: 80 (guest) => 8000 (host) (adapter 1) 
    homestead-7: 443 (guest) => 44300 (host) (adapter 1) 
    homestead-7: 3306 (guest) => 33060 (host) (adapter 1) 
    homestead-7: 5432 (guest) => 54320 (host) (adapter 1) 
    homestead-7: 22 (guest) => 2222 (host) (adapter 1) 
==> homestead-7: Running 'pre-boot' VM customizations... 
==> homestead-7: Booting VM... 
There was an error while executing `VBoxManage`, a CLI used by Vagrant 
for controlling VirtualBox. The command and stderr is shown below. 
Command: ["startvm", "75bdb497-9044-4c49-ab2d-5244eb234d6e", "--type", "headless                "] 
Stderr: VBoxManage.exe: error: The virtual machine 'homestead-7' has terminated 
unexpectedly during startup with exit code 1 (0x1). More details may be available 
in 'C:\Users\Administrator\VirtualBox VMs\homestead-7\Logs\VBoxHardening.log' 

VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine. 

我試圖重新安裝虛擬框和無業遊民,但它不工作對我來說。

任何幫助,非常感謝。

+0

'vagrant reload'命令將對您有所幫助。 –

+0

不適用於我〜 – kuzicala

+0

我認爲錯誤可能來自虛擬框〜 – kuzicala

回答

-1

我的情況下,Oracle虛擬機的一些問題 使用5.0版在5.1版 其他情況下 的問題是與最近的Windows更新,其中啓用了Hyper-V功能。我從控制面板下的功能菜單中禁用了它。禁用並重新啓動計算機後,虛擬化將再次運行。

+0

你可以添加一個鏈接問題/錯誤報告?因爲這是非常模糊的,有這個問題的人甚至不知道哪個版本會有修復。 – Robert

0

我遇到了同樣類型的問題並解決了問題。 Oracle VM 5.1.12對我來說沒問題。 有時,防病毒/防火牆應用程序對這類活動很麻煩。因此,請嘗試禁用或刪除防病毒應用程序以檢查問題是否會繼續。

-1

命令「流浪漢重載」解決了我

+0

歡迎來到SO。請閱讀此[如何回答](http://stackoverflow.com/help/how-to-answer)以提供高質量的答案。 – thewaywewere

0

我已經刪除VirtualBox和安裝的版本5.2.2

該問題已解決我的問題。

但在問題發生之前,我升級了流浪漢。我認爲你的流浪版本不適合你的VirtualBox版本。請仔細檢查您的版本。

+0

當我升級Vagrant時,Vagrant安裝給我一個警告 –