Vagrant laravel box,客机进入无效状态

时间:2014-12-10 14:44:15

标签: laravel vagrant virtualbox homestead

Laravels Homestead流浪者盒子工作正常,直到今天。 Windows自动更新后,服务器无法启动并抛出以下错误消息:

客户机在等待时进入无效状态 开机有效状态为“开始,正在运行”。机器在 '流产'状态。请验证所有配置 正确再试一次。

如果您使用的提供程序具有随附的GUI, 打开它并观察机器通常很有帮助,因为 GUI通常比Vagrant可以检索更多有用的错误消息。 例如,如果您正在使用VirtualBox,请在运行时vagrant up运行 VirtualBox GUI已打开。

当我查看机器的日志文件时,我看到以下错误:

    d64.f9c: supR3HardenedMonitor_LdrLoadDll: pName=C:\Windows\system32\crypt32.dll *pfFlags=0x0 pwszSearchPath=00000000006fdf80:C:\Windows\system32
    d64.f9c: supR3HardenedScreenImage/LdrLoadDll: cache hit (Unknown Status -22900 (0xffffa68c)) on \Device\HarddiskVolume4\Windows\System32\crypt32.dll
    d64.f9c: Error (rc=0):
    d64.f9c: supR3HardenedScreenImage/LdrLoadDll: cached rc=Unknown Status -22900 (0xffffa68c) fImage=1 fProtect=0x0 fAccess=0x0 cErrorHits=2 \Device\HarddiskVolume4\Windows\System32\crypt32.dll
    d64.f9c: Error (rc=0):
    d64.f9c: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\Windows\system32\crypt32.dll': rcNt=0xc0000190
    d64.f9c: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0xc0000190      'C:\Windows\system32\crypt32.dll'
    d64.f9c: Fatal error:
    d64.f9c: Error loading 'crypt32.dll': 1790 [C:\Windows\system32\crypt32.dll]
    fec.24d8: supR3HardenedWinDoReSpawn(2): Quitting: ExitCode=0x1 rcNt=0x0
    1278.950: supR3HardenedWinDoReSpawn(1): Quitting: ExitCode=0x1 rcNt=0x0

之前遇到此问题的人?我的crypt32.dll是否已损坏?

2 个答案:

答案 0 :(得分:15)

我在尝试启动VirtualBox VM时遇到了同样的错误。 VM在当天早些时候开始,在我安装了一些Windows更新后,它停止了工作。以下是修正它的原因:

  1. 打开“控制面板”,“程序”,“查看已安装的更新”。
  2. 向下滚动到Microsoft Windows。
  3. 查找Microsoft Windows安全更新(KB3004394)。
  4. 选择该更新,然后点击顶部的卸载。
  5. 重新启动和VirtualBox应该再次正常工作。
  6. 我只是因为这个问题而浪费了一个小时。

答案 1 :(得分:1)

我今天遇到了完全相同的错误。昨天我已经安装了一些Windows更新。 Commmands vagrant haltvagrant upvagrant reload没有帮助。

我最终做的是卸载Virtualbox并安装最新的Virtualbox版本+为Vagrant做同样的事情(因为我有Vagrant并不支持最新的Virtualbox - 因此在某些情况下它不是必需的)。

重新启动电脑后,我可以毫无问题地运行vagrant up,而且一切正常。