[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen on EC2 | Debian Squeeze AMD 64



I may be wrong, but I'm fairly sure you're not supposed to run xen in a vm.  I believe amazon uses xen for ec2, so you're basically trying to run xen as a vm under xen. 

Russ

On Apr 19, 2012 8:07 AM, "Xavier Cardil" <xavier@xxxxxxxx> wrote:
Hello ! I'm trying to run Xen on a EC2 AMI 


debian-6.0-squeeze-base-x86_64-20110417 (ami-35b68141)



After installing the packages, I get : 

uname -a 
Linux ip-10-241-22-60 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 x86_64 GNU/Linux

uname -r
2.6.32-5-xen-amd64

Then I do : mv /etc/grub.d/10_linux /etc/grub.d/50_linux
update-grub2


After I reboot but I get this when calling xm : 

xm dmesg                                                
WARING!  Can't find version 3.4 of xen utils, fallback to default version!
Error: Unable to connect to xend: No such file or directory. Is xend running?

When I execute xend I get : 

xend 
WARING!  Can't find version 3.4 of xen utils, fallback to default version!
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Traceback (most recent call last):
  File "/usr/lib/xen-default/bin/xend", line 38, in <module>
    from xen.xend.server import SrvDaemon
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvDaemon.py", line 26, in <module>
    import relocate
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/relocate.py", line 28, in <module>
    from xen.xend import XendDomain
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 36, in <module>
    from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendCheckpoint.py", line 20, in <module>
    from xen.xend import balloon, sxp, image
  File "/usr/lib/xen-4.0/lib/python/xen/xend/image.py", line 46, 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)')


Does this has to do with the kernel I'm booting ?

My /boot looks like this : 

System.map-2.6.32-5-xen-amd64  

initrd.img-2.6.32-5-xen-amd64

config-2.6.32-5-xen-amd64      

vmlinuz-2.6.32-5-xen-amd64

grub                           

xen-4.0-amd64.gz

And my menu.lst looks like this : 

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/40_custom ###
default 0
timeout 1
title 2.6.32-5-xen-amd64
  root (hd0)
  kernel /boot/vmlinuz-2.6.32-5-xen-amd64 root=/dev/xvda1 ro
  initrd /boot/initrd.img-2.6.32-5-xen-amd64
### END /etc/grub.d/40_custom ###


I have been trying to get around this but ... nothing works ! 

Any help would be much appreciated, thanks in advance !

-Xavier











_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.