Xen on Ubuntu 8.10 64bit problems

Discussion in 'HOWTO-Related Questions' started by Chromium, Nov 4, 2008.

  1. Chromium

    Chromium New Member

    After performing the following commands on the latest 8.10 Desktop 64bit:
    Code:
    sudo aptitude install ubuntu-xen-server
    sudo apt-get install xen-tools
    sudo reboot
    
    The Xen kernel does not load:

    Code:
    admin@356835794:~$ sudo xm list
    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)')
    adminuser@356835794860:~$ sudo uname -r
    2.6.27-7-server
    admin@356835794:~$ 
    

    Does anyone have an idea why?
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    On Ubuntu 8.10, the Xen kernel is only for domUs, but not for dom0 - there's no dom0 kernel because the Xen project didn't create any patches for the latest kernels... :(
     
  3. Chromium

    Chromium New Member

    Yeah, figures...

    It's alright though, that VirtualBox works great. Very impressed with it, took me all but 10 minutes to get that going :)
     
  4. sebo

    sebo New Member

    can u tell me how did u fixed this problem ?
     
  5. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I've written a tutorial for Xen on Ubuntu 8.10. Will publish it in the next days. :)
     
  6. pbhat

    pbhat New Member

    Having the same issues!

    Hey!

    I need some help on this. I am running:

    Ubuntu 9.10 and
    Kernel 2.6.31-15-generic-pae

    When I try to run any xm command, I have the same error as mentioned above, namely:

    pbhat@pbhat-acis:~$ xm list
    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.6/dist-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)')



    I understand that my kernel not being able to support Dom0. However I do not know how to go about solving the problem. Could someone elaborate on where I need to put the earlier kernel (hardy) version so that dom0 can use it to boot and which files I need to edit?

    Thanks
    pr
     

Share This Page