Oracle VM 3.0: Error: Acquire running lock failed: 256 (Doc ID 1380333.1)

Last updated on AUGUST 02, 2017

Applies to:

Oracle VM - Version 3.0.1 and later
Linux x86-64
***Checked for relevance on 19-Sep-2013***

Symptoms

When trying to start a virtual machine via the Oracle VM 3 Manager, you will get the following error:


Job Construction Phase
----------------------
begin()
Appended operation 'Virtual Machine Start' to object '0004fb0000060000713c6232cd7b11e4 (testguest)'.
commit()
Completed Step: COMMIT

Objects and Operations
----------------------
Object (IN_USE): [Vnic] 0004fb00000700006590dd95cb6bbabe (00:21:f6:10:00:0d)
Object (IN_USE): [VmDiskMapping] 0004fb0000130000612516b73ced9d3d
Object (IN_USE): [VirtualMachine] 0004fb0000060000713c6232cd7b11e4 (LNX-PPC-RTB6)
Operation: Virtual Machine Start
Object (IN_USE): [VirtualDisk] 0004fb0000120000e2a2b55d1675cefa.img

Job Running Phase at 05:27 on Wed, Nov 23, 2011
----------------------------------------------
Job Participants: [ff:20:00:08:ff:ff:ff:ff:ff:ff:00:86:a7:28:21:00 (ovm3srv01)]


Actioner
--------
Starting operation 'Virtual Machine Start' on object '0004fb0000060000713c6232cd7b11e4 (testguest)'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: ovm3server01 failed. OVMAPI_4004E Server Failed Command: dispatch, Status: https://?uname?:?pwd?@aGENT start_vm 0004fb0000030000fd7afe4e32860354 0004fb0000060000713c6232cd7b11e4
Wed Nov 23 08:37:43 GMT 2011
Wed Nov 23 08:37:43 GMT 2011
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:474)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:414)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:361)
at com.oracle.ovm.mgr.action.VirtualMachineAction.sendStartVmCommand(VirtualMachineAction.java:121)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.asyncAction(VirtualMachineStart.java:51)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:562)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:553)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.action(VirtualMachineStart.java:38)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:191)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:257)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1019)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:223)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:395)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:453)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch, Status: https://?uname?:?pwd?@aGENT start_vm 0004fb0000030000fd7afe4e32860354 0004fb0000030000fd7afe4e32860354
Wed Nov 23 08:37:43 GMT 2011
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:752)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:470)
... 22 more



at the same time you will be able to find the following error in the /var/log/ovs-agent.log:


[2011-11-23 08:38:05 5303] DEBUG (OVSCommons:124) start_vm: ('0004fb0000030000fd7afe4e32860354', '0004fb0000060000713c6232cd7b11e4')
[2011-11-23 08:38:06 5303] ERROR (OVSCommons:143) catch_error: Command: ['xm', 'create', '/OVS/Repositories/0004fb0000030000fd7afe4e32860354/VirtualMachines/0004fb0000060000713c6232cd7b11e4/vm.cfg'] failed (1): Error: Acquire running lock failed: 256

Traceback (most recent call last):
File "/opt/ovs-agent-3.0/OVSCommons.py", line 141, in wrapper
return func(*args)
File "/opt/ovs-agent-3.0/vm.py", line 558, in start_vm
run_cmd(['xm', 'create', path])
File "/opt/ovs-agent-3.0/OVSCommons.py", line 31, in run_cmd
raise RuntimeError('Command: %s failed (%s): %s ' % (cmd,
RuntimeError: Command: ['xm', 'create', '/OVS/Repositories/0004fb0000030000fd7afe4e32860354/VirtualMachines/0004fb0000060000713c6232cd7b11e4/vm.cfg'] failed (1): Error: Acquire running lock failed: 256

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms