对于laravel宅基地的流浪者错误

时间:2017-06-07 01:22:48

标签: laravel laravel-5 vagrant homestead

您好,我在运行流浪汉后遇到以下错误:

    $ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> 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", "83b1dbca-4d9f-4828-a544-d8a88124eafe", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'homestead-7' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

流浪者曾经工作得很好,这个错误发生在Windows 10更新后。 我尝试过以下命令无法解决问题:

vagrant reloead
vagrant reload --provision

vagrant and homestead版本:

$ vagrant -v 
Vagrant 1.9.1 
$ homestead -v Laravel 
Homestead version 3.1.0

即使以管理员身份运行选项(无错误/警告),我也无法运行虚拟机应用程序。我通过cmd检查版本:

C:\Program Files\Oracle\VirtualBox>vboxmanage 
--version 5.1.8r111374 
虚拟框运行时

事件查看器错误:

Faulting application name: VirtualBox.exe, version: 5.1.8.11374, time stamp: 0x58062715
Faulting module name: VirtualBox.exe, version: 5.1.8.11374, time stamp: 0x58062715
Exception code: 0xc0000005
Fault offset: 0x00000000000139bd
Faulting process id: 0x15fc
Faulting application start time: 0x01d2df9836f7498f
Faulting application path: C:\Program Files\Oracle\VirtualBox\VirtualBox.exe
Faulting module path: C:\Program Files\Oracle\VirtualBox\VirtualBox.exe
Report Id: e94ebe5e-a1f3-4157-92a5-3452486712ef
Faulting package full name: 
Faulting package-relative application ID:

提前致谢。

1 个答案:

答案 0 :(得分:1)

在最新的Windows更新后,我今天遇到了这个问题。安装最新版本的Virtual Box(5.1.22)为我解决了这个问题。我在5.1.6。

您可能还需要更新VirtualBox Guest Additions。