Cannot resume from pause state
Posted: 27. Aug 2008, 00:41
Hello, I noticed that one of my virtual machines was in a paused state. Not sure how this occurred, as I did not issue the controlvm pause command. Anyhow, I tried resuming, but the machine doesn't seem to stay alive. Does anyone have a suggestion on how to resolve this and possibly also research why the pause occured.
And some more example of what looks like the machine immediately pauses after resume (notice the different "since" times):
Code: Select all
$ VBoxManage showvminfo "Ubuntu Server" | grep State
State: paused (since 2008-08-26T21:56:48.212000000)Code: Select all
$ VBoxManage controlvm "Ubuntu Server" resume
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.Code: Select all
$ VBoxManage showvminfo "Ubuntu Server" | grep State
State: paused (since 2008-08-26T22:16:05.707000000)
Code: Select all
$ VBoxManage discardstate "Ubuntu Server"
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
[!] FAILED calling virtualBox->OpenSession(session, guid) at line 6008!
[!] Primary RC = E_ACCESSDENIED (0x80070005) - Access denied
[!] Full error info present: true , basic error info present: true
[!] Result Code = E_ACCESSDENIED (0x80070005) - Access denied
[!] Text = A session for the machine 'Ubuntu Server' is currently open (or being closed)
[!] Component = Machine, Interface: IMachine, {f95c0793-7737-49a1-85d9-6da81097173b}
[!] Callee = IVirtualBox, {2d3b9ea7-25f5-4f07-a8e1-7dd7e0dcf667}Code: Select all
$ VBoxManage controlvm "Ubuntu Server" reset
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
[!] FAILED calling console->Reset() at line 5558!
[!] Primary RC = NS_ERROR_FAILURE (0x80004005) - Operation failed
[!] Full error info present: true , basic error info present: true
[!] Result Code = NS_ERROR_FAILURE (0x80004005) - Operation failed
[!] Text = Cannot reset the machine as it is not running (machine state: 5)
[!] Component = Console, Interface: IConsole, {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
[!] Callee = IConsole, {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
Code: Select all
$ VBoxManage controlvm "Ubuntu Server" resume && VBoxManage showvminfo "Ubuntu Server"|grep State
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
State: paused (since 2008-08-26T22:39:17.958000000)
$ VBoxManage controlvm "Ubuntu Server" resume && VBoxManage showvminfo "Ubuntu Server"|grep State
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
State: paused (since 2008-08-26T22:39:18.672000000)
$ VBoxManage controlvm "Ubuntu Server" resume && VBoxManage showvminfo "Ubuntu Server"|grep State
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
State: paused (since 2008-08-26T22:39:19.466000000)