执行 VBoxManage(Vagrant 使用的 CLI)时出错 [英] There was an error while executing `VBoxManage`, a CLI used by Vagrant

查看:37
本文介绍了执行 VBoxManage(Vagrant 使用的 CLI)时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行vagrant up"命令时,出现以下错误,谁能告诉我问题是什么以及如何解决?

When I run the command "vagrant up", I am getting the following error, Can any one tell me what was the issue and how to resolve it ?

E:\World_Bank\Vagrant_05Aug2014>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'test-phil'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: Vagrant_05Aug2014_default_1407255316443_73721
==> default: Destroying VM and associated drives...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["showvminfo", "69def451-086c-436f-8d8d-0439cb3b7107", "--machinereadable"]

Stderr: VBoxManage.exe: error: Could not find a registered machine with UUID {69def451-086c-436f-8d8
d-0439cb3b7107}
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, int
erface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at lin
e 2611 of file VBoxManageInfo.cpp

E:\World_Bank\Vagrant_05Aug2014>VBoxManage showvminfo 69def451-086c-436f-8d8d-0439cb3b7107 --machine
readable
'VBoxManage' is not recognized as an internal or external command,
operable program or batch file.

推荐答案

遇到类似问题的任何人都遇到过类似的问题,这可能是因为 VirtualBox 不在我的道路上.将此 C:\PROGRA~2\Oracle\VirtualBox 添加到您的路径环境变量中.

Had a similar problem for anyone who comes across this, and it was likely because VirtualBox was not in my path. Add this C:\PROGRA~2\Oracle\VirtualBox to your path environment variable.

这篇关于执行 VBoxManage(Vagrant 使用的 CLI)时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆