VirtualBox,Vagrant& Laravel Homestead“流浪汉”错误

时间:2016-08-30 12:06:52

标签: php laravel vagrant virtualbox homestead

在Laravel 5.3发布后,我正在尝试使用Laragon一段时间后切换回Laravel Homestead。我已按照guide in the docs上的所有步骤操作,并观看了几个截屏教程,但在运行vagrant up时出现此错误:

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "977385f5-4aa5-4def-be66-1741ac9b560b", "--type", "headless"]
  

Stderr:VBoxManage.exe:错误:虚拟机'homestead-7'有   在启动期间意外终止,退出代码为-1073741819   (0000005)。更多细节可能会在   'C:\ Users \\ VirtualBox VMs \ homestead-7 \ Logs \ VBoxHardening.log'

     

VBoxManage.exe:错误:详细信息:代码E_FAIL(0x80004005),组件   MachineWrap,接口IMachine

正如错误所述,here是我的VBoxHardening.log

另外,我尝试重新安装VirtualBox,但没有修复它。

任何帮助都非常感激。

4 个答案:

答案 0 :(得分:1)

我知道这篇文章几个月没有任何活动,但我只是想更新它,因为我发现几个月前导致问题的原因。它实际上是MacType,我使用的字体更平滑。我卸载它,它只是工作,没有任何问题。

答案 1 :(得分:0)

尝试重新启动笔记本电脑,只是看到它给你的错误?您只需按照以下步骤操作:

1. Right click on "This PC" / "My Computer" on windows desktop
2. Select "Properties"
3. Go to "Advanced" tab
4. Click "Environment Variables..." at the bottom
5. Under System Variables click "New..."
6. Set "Variable name" to "VBOX_INSTALL_PATH"
7. Set "Variable value" to "C:\Program Files\Oracle\VirtualBox\"
8. Select "OK" and close all the other settings windows

希望这可以帮助你!! :)

答案 2 :(得分:0)

在更新Windows 10和我的Nvidia(和Geforce Experience)驱动程序后,我遇到了这个问题。

我做了一个"流浪盒更新",但仍然出错。

我更新了我的虚拟机,并且说它无法使用此版本的虚拟机。

然后我下载了最新的流浪汉(1.8.6)并解决了问题。

https://www.vagrantup.com/downloads.html

希望这有帮助。

答案 3 :(得分:0)

我遇到了同样的问题,而关于此问题或Stack Overflow中其他问题的答案都没有帮助我。如果我卸载了virtualbox并重新安装,问题似乎消失了。但是,如果我重新启动主机,问题又回来了,不得不重复。非常令人沮丧。

我遇到了this post,事实证明是 Trusteer Rapport 引起了该问题。不知道为什么,但是似乎问题出在2018年6月的更新之后。我卸载了Trusteer Rapport,重新安装了virtualbox,一切正常!