VirtualBox,Vagrant和Laravel Homestead“vagrant up”错误

问题描述 投票:2回答:4

在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(0xc0000005)。更多细节可以在'C:\ Users \\ VirtualBox VMs \ homestead-7 \ Logs \ VBoxHardening.log'中找到

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

正如它在错误中所说,here是我的VBoxHardening.log

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

任何帮助真的很感激。

php laravel vagrant virtualbox homestead
4个回答
1
投票

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


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

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


0
投票

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

我做了一个“流浪盒更新”,但仍然得到了错误。

我更新了我的virtualbox并且vagrant说它无法使用这个版本的virtualbox。

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

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

希望这可以帮助。


0
投票

我有同样的问题,这个问题的答案或Stack Overflow中的其他人都没有帮助我。如果我卸载了虚拟机并重新安装,问题似乎就消失了。但是,如果我重新启动主机,问题又回来了,不得不重复。很沮丧。

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

© www.soinside.com 2019 - 2024. All rights reserved.