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

Re: [Xen-users] Can someone please build a Xen 3.2 rpm for CentOS 5.1x64?

  • To: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
  • From: "Marco Strullato" <marco.strullato@xxxxxxxxx>
  • Date: Thu, 24 Apr 2008 10:09:44 +0200
  • Cc: Rudi Ahlers <Rudi@xxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 24 Apr 2008 01:10:49 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q8uJP4wDRtbHcZUlGxlirpSXU6xAsnExKD8hAQ9BGBvg50GGLGgI+q4kRRwvZ7qjya4F/PMAantSY5NwWyhjSCPa/EC7s1h0ymuO4o7XAt4kl+eI/QGNc5dIJThOM8mhBmmZ0n3Br0bWI3dD2vSz8nMXKRCrfCnpFDFVAoml/2w=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi, I followed you instructions, I've build and installed
xen-3.2.0-0xs and xen-libs-3.2.0-0xs.
Now I get this error when I execute xm list:

Error: Unable to connect to xend: No such file or directory. Is xend running?

And into the xend.log I have

[2008-04-24 09:48:01 3499] INFO (SrvDaemon:331) Xend Daemon started
[2008-04-24 09:48:01 3499] INFO (SrvDaemon:335) Xend changeset: unavailable.
[2008-04-24 09:48:01 3499] INFO (SrvDaemon:342) Xend version: Unknown.
[2008-04-24 09:48:01 3499] ERROR (SrvDaemon:353) Exception starting
xend ((13, 'Permission denied'))
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line 345, in run
    servers = SrvServer.create()
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py",
line 251, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py",
line 40, in __init__
  File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
    val = val.getobj()
  File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line
52, in getobj
    self.obj = klassobj()
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py",
line 30, in __init__
    self.xn = XendNode.instance()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
709, in instance
    inst = XendNode()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
83, in __init__
    self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"]
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
673, in xeninfo_dict
    return dict(self.xeninfo())
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
617, in xeninfo
    info['xen_scheduler'] = self.xenschedinfo()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line
607, in xenschedinfo
    sched_id = self.xc.sched_id_get()
Error: (13, 'Permission denied')

I read this is about the python used in the previous version of xen of
mu centos5 linux but I suppose this error is due to the previous

Now I'm running this:

[root@hyp10 ~]# uname -a
Linux hyp10.infolan 2.6.18-53.1.14.el5xen #1 SMP Wed Mar 5 12:08:17
EST 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@hyp10 ~]# rpm -qa | grep xen

And this is the python I have installed:

[root@hyp10 ~]# find /usr/ -name "SrvDaemon.py"

[root@hyp10 ~]# find /usr/ -name "python*" | grep -v doc

How do you suggest me to go on?



2008/3/31, Ross S. W. Walker <rwalker@xxxxxxxxxxxxx>:
> Rudi Ahlers wrote:
>  >
>  > Hi all
>  >
>  > I'm looking for the rpm's for Xen 3.2 x64 to use on CentOS 5.1.
>  > Unfortunately I have had no joy in trying to rebuild the src rpm. If
>  > anyone has done it before, please let me know
> I can get you going, though you will need to type in the commands
>  to compile it on your end.
>  1) Install CentOS 5.1 x86_64 + virtualization package
>  2) Install these packages via yum:
>  # yum intstall gcc binutils dev86 bison flex kernel-xen-devel transfig 
> libidn-devel zlib-devel texi2html SDL-devel curl-devel libX11-devel 
> python-devel ghostscript tetex-latex ncurses-devel gtk2-devel libaio-devel 
> perl glibc-devel.x86_64 glibc-devel.i386 gettext gnutls-devel openssl-devel
>  A lot of dependencies will be pulled in, but hey that's life..
>  3) Download the xen 3.2 src rpm from xen.org and install it
>  4) cd to '/usr/src/redhat/SPECS' and type in 'rpmbuild -ba xen.spec'
>  If it aborts with an error, it shouldn't, so post it and
>  someone will help you with it.
>  5) cd to '/usr/src/redhat/RPMS/x86_64' and type in
>  'rpm -Uvh xen-3.2.0-0xs.x86_64.rpm xen-libs-3.2.0-0xs.x86_64.rpm'
>  Then your done.
>  There are 2 issues I encountered with the xen.org 3.2 version.
>  1) The Xen API interface doesn't handle an unspecified
>  'timer_mode' option which causes virt-manager and
>  virt-install to break. There is a patch for this and
>  I can send a patched src rpm with it if you want.
>  2) utc_timeoffset isn't automatically calculated so
>  you need to specify it. I also have a patch for that
>  too, included in my new src rpm.
>  -Ross
>  ______________________________________________________________________
>  This e-mail, and any attachments thereto, is intended only for use by
>  the addressee(s) named herein and may contain legally privileged
>  and/or confidential information. If you are not the intended recipient
>  of this e-mail, you are hereby notified that any dissemination,
>  distribution or copying of this e-mail, and any attachments thereto,
>  is strictly prohibited. If you have received this e-mail in error,
>  please immediately notify the sender and permanently delete the
>  original and any copy or printout thereof.
>  _______________________________________________
>  Xen-users mailing list
>  Xen-users@xxxxxxxxxxxxxxxxxxx
>  http://lists.xensource.com/xen-users

Xen-users mailing list



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