Installation guide

Error: Error connecting to xend: Connection refused. Is xend running?
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 has most likely happened here is that you rebooted your host into a kernel that is not a
kernel-xen kernel. To correct this, you must select the kernel-xen kernel at boot time (or set the
kernel-xen kernel to the default in the grub.conf file).
35.10. Guest creat ion errors
When you attempt to create a guest, you receive an "Invalid argument" error message. This
usually means that the kernel image you are trying to boot is incompatible with the hypervisor. An
example of this would be if you were attempting to run a non-PAE FC5 kernel on a PAE only FC6
hypervisor.
You do a yum update and receive a new kernel, the grub.conf default kernel switches right back to
a bare-metal kernel instead of the Virtualization kernel.
To correct this problem you must modify the default kernel RPM that resides in the
/etc/sysconfig/kernel/ directory. You must ensure that kernel-xen parameter is set as the
default option in your grub.conf file.
35.11. T roubleshoot ing wit h serial consoles
Linux kernels can output information to serial ports. This is useful for debugging kernel panics and
hardware issues with video devices or headless servers. The subsections in this section cover setting
up serial console output for machines running Red Hat Enterprise Linux virtualization kernels and
their guests.
35.11.1. Serial console out put for Xen
By default, the serial console for the Xen hypervisor is disabled and no data is output from serial
ports.
To receive kernel information on a serial port modify the /boot/grub/grub.conf file by setting the
appropriate serial device parameters.
If your serial console is on com1, modify /boot/grub/grub.conf by inserting the lines
com1=115200,8n1, console=tty0 and console=ttyS0,115200 where shown.
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
336