Произошла ошибка при выполнении VBoxManage, интерфейса командной строки, используемого Vagrant.

Когда я запускаю команду "vagrant up", я получаю следующую ошибку: Может ли кто-нибудь сказать мне, в чем была проблема и как ее решить?

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.

person Vinod    schedule 05.08.2014    source источник


Ответы (1)


Была аналогичная проблема для всех, кто сталкивался с этим, и, вероятно, потому, что VirtualBox не был на моем пути. Добавьте этот C:\PROGRA~2\Oracle\VirtualBox в переменную среды вашего пути.

person Charlie Strawn    schedule 21.08.2014
comment
Вышеупомянутая проблема связана с недопустимым путем синхронизации в бродячем файле. Убедитесь, что ваша папка синхронизации верна - person Vinod; 22.08.2014