Tuesday, August 30, 2022

Fix: VBoxManage: error: Invalid machine state: Stopping

12:43 PM Posted by Dilli Raj Maharjan No comments

 maharjan-C02XFAPBJG5H:Desktop maharjan$ VBoxManage controlvm "Revera_Test" reset

VBoxManage: error: Invalid machine state: Stopping

VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component ConsoleWrap, interface IConsole, callee nsISupports

VBoxManage: error: Context: "Reset()" at line 414 of file VBoxManageControlVM.cpp

maharjan-C02XFAPBJG5H:Desktop maharjan$ VBoxManage controlvm "Revera_Test" poweroff

VBoxManage: error: The virtual machine is being powered down

VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component ConsoleWrap, interface IConsole, callee nsISupports

VBoxManage: error: Context: "PowerDown(progress.asOutParam())" at line 619 of file VBoxManageControlVM.cpp

maharjan-C02XFAPBJG5H:Desktop maharjan$

maharjan-C02XFAPBJG5H:Desktop maharjan$

maharjan-C02XFAPBJG5H:Desktop maharjan$ VBoxManage startvm "Revera_Test" --type emergencystop

maharjan-C02XFAPBJG5H:Desktop maharjan$ VBoxManage startvm "Revera_Test" --type emergencystop

VBoxManage: error: The machine 'Revera_Test' is not locked by a session

VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports

VBoxManage: error: Context: "LaunchVMProcess(a->session, sessionType.raw(), ComSafeArrayAsInParam(aBstrEnv), progress.asOutParam())" at line 727 of file VBoxManageMisc.cpp

maharjan-C02XFAPBJG5H:Desktop maharjan$