View previous topic :: View next topic |
Author |
Message |
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Sun Oct 23, 2011 11:33 am Post subject: How to shutdown an unresponsive virtualbox machine? |
|
|
Hi,
Seems one of my vm boxes has locked up. I can't really perform any action on it
I started the vm using "VboxHeadless -s <vmname>"
But when I try to stop it using "VboxManage controlvm <vmname> poweroff or reset " the command hangs
If I try to start it again I get
Code: | VBoxHeadless: error: The machine 'gentoo-testing' is already locked for a session (or being unlocked)
VBoxHeadless: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Machine, interface IMachine, callee nsISupports
Context: "LockMachine(session, LockType_Write)" at line 857 of file VBoxHeadless.cpp
|
Any ideas? I really don't want to restart the real host just to make virtualbox work again. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Mon Oct 24, 2011 10:38 pm Post subject: |
|
|
Sorry for an obvious question, but wouldn't kill -9 work?
(On a different note, any reason you're using vbox over kvm? Virtulbox seems to cause quite a bit of trouble) _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Wed Oct 26, 2011 10:08 am Post subject: |
|
|
why not just log in into the machine and shut it down? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
|