我的Virtualbox虚拟机因为这个错误无法启动,我不想销毁并重新安装它,有没有恢复的方法?
在控制VirtualBox的Vagrant使用的CLI VBoxManage
执行时出现了错误。该命令和stderr如下所示。
Command: ["modifyvm", "319fcce3-e8ff-4b6f-a641-3aee1df6543f", "--natpf1", "delete", "ssh"]
Stderr: VBoxManage: error: The machine 'centos64_c6402_1454036461345_59755' is already locked for a session (or being unlocked)
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "LockMachine(a->session, LockType_Write)" at line 493 of file VBoxManageModifyVM.cpp
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" <vm-uuid> --type emergencystop
命令来执行紧急停止虚拟机的操作。 - Felix Eve"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" -nologo list vms
- Joey