19.11. Common Troubleshooting Situations

19.11. Common Troubleshooting Situations

19.11. Common Troubleshooting Situations

When you attempt to start the xend service nothing happens. You type xm list1 and receive the following:

Error: Error connecting to xend: Connection refused. Is xend running?

You try to run xend start manually and receive more errors:

Error: Could not obtain handle on privileged command interfaces (2 = No such file or directory)
Traceback (most recent call last:)

File "/usr/sbin/xend/", line 33 in ?

from xen.xend.server. import SrvDaemon

File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py" , line 26 in ?
		
from xen.xend import XendDomain

File "/usr//lib/python2.4/site-packages/xen/xend/XendDomain.py" , line 33, in ?

from xen.xend import XendDomainInfo
		
File "/usr/lib/python2.4/site-packages/xen/xend/image.py" , line37, in ?

import images

File "/usr/lib/python2.4/site-packages/xen/xend/image.py" , line30, in ?

xc = xen.lowlevel.xc.xc ()

RuntimeError: (2, 'No such file or directory' )

What is most likely happened here is that you rebooted your host into a kernel that is not a xen-hypervisor kernel. To correct this, you must select the xen-hypervisor kernel at boot time (or set the xen-hypervisor kernel to default in your grub.conf file.