Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to shutdown an unresponsive virtualbox machine?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Sun Oct 23, 2011 11:33 am    Post subject: How to shutdown an unresponsive virtualbox machine? Reply with quote

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
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1932

PostPosted: Mon Oct 24, 2011 10:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5929

PostPosted: Wed Oct 26, 2011 10:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum