没有流浪的laravel宅基地

时间:2016-11-23 10:25:09

标签: laravel-5 vagrant virtual-machine homestead

enter image description here 按照https://laravel.com/docs/4.2/homestead,I的指示,昨天在WIN7上使用vagrant 1.8.0和Virtual box 5.1.10安装了laravel宅基。 然而,计算机意外断电。当我重新启动计算机时,我遇到了这些错误:

Administrator@L3L44LWAP6XZHHR 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.

我尝试重新安装虚拟盒和流浪汉,但它对我不起作用。

非常感谢任何帮助。

3 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,并解决了这个问题。 Oracle VM 5.1.12对我来说没问题。 有时,防病毒/防火墙应用程序对此类活动感到不安。因此,请尝试禁用或删除防病毒应用程序以检查问题是否会继续。

答案 1 :(得分:0)

我已删除VirtualBox并安装了5.2.2版本

这已经解决了我的问题。

但在问题发生之前,我对流浪者进行了升级。我认为你的流浪汉版本不适合你的VirtualBox版本。请仔细检查您的版本。

答案 2 :(得分:-1)

命令“vagrant reload”为我解决了