xm crashed with Error in <module>()

Bug #349987 reported by fabius
This bug report is a duplicate of:  Bug #273283: xm crashed with Error in <module>(). Edit Remove
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xen-3.3 (Ubuntu)
New
Undecided
Unassigned

Bug Description

root@TT:/home# xm create test.cfg
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Traceback (most recent call last):
  File "/usr/sbin/xm", line 8, in <module>
    from xen.xm import main
  File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 61, in <module>
    xc = xen.lowlevel.xc.xc()
xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on privileged command interface (2 = No such file or directory)')

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/sbin/xm
InterpreterPath: /usr/bin/python2.5
Package: xen-utils-3.3 3.3.0-1ubuntu9
ProcAttrCurrent: unconfined
ProcCmdline: /usr/bin/python2.5 /usr/sbin/xm list
ProcEnviron:
 SHELL=/bin/bash
 LANG=it_IT.UTF-8
PythonArgs: ['/usr/sbin/xm', 'list']
SourcePackage: xen-3.3
Title: xm crashed with Error in <module>()
Uname: Linux 2.6.28-11-server i686
UserGroups:

Revision history for this message
fabius (fabio-ballatore) wrote :
Revision history for this message
Uxorious (uxorious) wrote :

I have the same problem on Ubuntu 9.04 AMD64.

While looking into what caused the problem, I noticed that /boot/grub/menu.lst had not been changed to boot into the XEN hypervisor.
Also, there were not XEN kernel images installed, and I could not find any pre-built ones.

Revision history for this message
Uxorious (uxorious) wrote :

My problem was indeed caused by not having booted with the Xen hypervisor.

After building my own Xen enabled kernel, xm will work correctly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.