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", "d0203ab8-e5c0-4c99-9458-f1cffaa2befc", "--type", "headless"]

Stderr: VBoxManage.exe: error: The configuration constructor in main failed due to a COM error. Check the release log of the VM for further details. (VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
最佳答案

win10环境出现该问题,我的解决方法是:关闭Hyper-V 就可以了,你们可以试试
参考:https://windowsinstructed.com/virtual-box-...

4年前 评论
lemon2018 3年前
xianuo2020 3年前
讨论数量: 24

Vagrant up 时启动失败这个问题你解决了没有啊? 我也遇到了这个,如果你解决了的话可以说一下解决方法吗 谢谢

5年前

同样,遇到这问题,如果解决了,麻烦回复一下,解决方法。。。 :see_no_evil:

5年前

@Xiehou_Your 同样,遇到这问题,如果解决了,麻烦回复一下,解决方法。。。 :see_no_evil:谢谢

5年前

我的问题解决了,是升级VirtualBox版本到最新的就可以了

5年前

@mrsmallyi 那个我已经5.216版本了,但是还是出现这个问题了,你可以告诉我一下你的那些安装在哪里了吗?我有点怀疑是我安装目录的问题了。。。谢谢

5年前

我也遇到这个问题了,你们都解决了吗

4年前 评论
梁前扬 (楼主) 4年前
mrccxiaocong (作者) 4年前
Mxinx 4年前

这玩意真的难用 :hankey:

4年前 评论
梁前扬 (楼主) 4年前

我的解决了,换了个电脑就能安装了,好像是主板不支持

4年前

windows电脑的用户名不要用中文,把vagrant和virtualBox都升到了最新的版本就好了

4年前

win10环境出现该问题,我的解决方法是:关闭Hyper-V 就可以了,你们可以试试
参考:https://windowsinstructed.com/virtual-box-...

4年前 评论
lemon2018 3年前
xianuo2020 3年前

Win10在启动虚拟机时如果出现这个错误:

Stderr: VBoxManage.exe: error: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED)

解决方法如下:

1、控制面板->程序->启动或关闭Windows功能->Hyper-V选项框去掉->确定

2、Win+R -> cmd -> Ctrl+Shift+Enter -> bcdedit /set hypervisorlaunchtype off -> 重启电脑

4年前 评论
BigCola 3年前
xianuo2020 3年前

使用管理员权限运行命令:bcdedit /set hypervisorlaunchtype off ,然后重启就可以了

如何想开启hyper了,对应的打开Hyper-V的命令:bcdedit /set hypervisorlaunchtype auto。 最重要的,这两个命令执行完都必须重启

3年前

贴一下,我也出现报错信息 There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "9678beac-7b77-4f52-81e1-dcaab1e4b8e3", "--type", "headless"]

Stderr: VBoxManage.exe: error: Call to VidMessageSlotMap failed: Last=0xc000000d/87 (VERR_NEM_VM_CREATE_FAILED) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

解决方案是安装一下新版的virtualBox就可以了

1年前 评论
Alvis1235 1年前

我也遇到这样的问题,但是我的Hyper-V 就没有勾选的

1年前 评论
Alvis1235 1年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!