Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Fedora Core 6 Xen Virtualization Guide
Previous Page Home Next Page

Frequently Asked Questions

  • Q: I am trying to start the xend service and nothing happens, then when I do a `xm list1 I get the following:

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

    Alternatively, I run xend start manually and get the following error:

    ERROR: Could not obtain handle on privileged command interface (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 21, in ?
        import relocate
      File "/usr/lib/python2.4/site-packages/xen/xend/server/relocate.py", line 26, in ?
        from xen.xend import XendDomain
      File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 33, in ?
        import XendDomainInfo
      File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 37, in ?
        import image
      File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 30, in ?
        xc = xen.lowlevel.xc.xc()
    RuntimeError: (2, 'No such file or directory')
    

    A: You have rebooted your host into a kernel that is not a xen-hypervisor kernel. Yes I did this myself in testing :)

    You either need to select the xen-hypervisor kernel at boot time or set the xen-hypervisor kernel as default in your grub.conf file.

  • Q. When creating a guest the message "Invalid argument" is displayed.

    1. This usually indicates that the kernel image you are trying to boot is incompatible with the hypervisor. This will be seen if trying to run a FC5 (non-PAE) kernel on FC6 (which is PAE only), or if trying to run a bare metal kernel.

  • Q. When I do a yum update and get a new kernel, the grub.conf default kernel switches back to the bare-metal kernel instead of the Xen kernel

    1. The default kernel RPM can be changed in /etc/sysconfig/kernel. If it is set to 'kernel-xen', then the Xenified kernel will always be set as default option in grub.conf

Fedora Core 6 Xen Virtualization Guide
Previous Page Home Next Page

 
 
  Published under the terms of the GNU General Public License Design by Interspire