WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] XM Command not working on CentOS 5.5

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] XM Command not working on CentOS 5.5
From: Teck Choon Giam <giamteckchoon@xxxxxxxxx>
Date: Sat, 2 Oct 2010 06:29:18 +0800
Delivery-date: Fri, 01 Oct 2010 15:29:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ykwx2Ufbo1C0GVn7g6jLvYXP8WFirbumXPX4yaKiWHU=; b=NeEsEdEEVZtpRnNAPEuL1pOa8Wj5AzmoRjv+0fZfxl/I4p2KacZdUqN4GX8tkoyKA1 p1218I2egO6hNvdXVQjcfYSv47smD9N6xvU4RbpzkjROSmJSxOW+Q7O5YiM7gyKfYq/f w7j15PvS+mjw86uHIcLQ9uKn0WUUKt3fn0Qe8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=j5HsmYxUtTCMwv9m6TnCd2vgjehByiK8U2/o0rfPLx8LIN/Wjle0BQlKB9tdw/AGE2 TTaKSRuyDpFpTAARI/tkAG5R00qxYusLnIq84K6rLNbfAYFWCSkh+A5bPC+Hb5b1706f 9WeSRy5mC6gp+A3XPCQaVYGBoQU6ElPb12z2I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin92-LM5dW+x8t3y8nrG5VFRQ0dAJMg_xtEU4Fp@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <12871952FC0E29439F861FA745BCDD8503EBA05E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTin92-LM5dW+x8t3y8nrG5VFRQ0dAJMg_xtEU4Fp@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
---------- Forwarded message ----------
From: Teck Choon Giam <giamteckchoon@xxxxxxxxx>
Date: Sat, Oct 2, 2010 at 6:25 AM
Subject: Re: [Xen-devel] XM Command not working on CentOS 5.5
To: "Nimgaonkar, Satyajeet" <SatyajeetNimgaonkar@xxxxxxxxxx>


On Fri, Oct 1, 2010 at 11:57 PM, Nimgaonkar, Satyajeet
<SatyajeetNimgaonkar@xxxxxxxxxx> wrote:
> Hello Xen Developers,
>                                     I compiled and installed xen 3.4.3 on
> centOS 5.5, but when I run xm info it gives me an error:
> bash: xm: command not found.

How you install from source? xm should be located in /usr/sbin/xm so
is /usr/sbin in your PATH?  Are you using root or normal user?

> and this is what xend log says:
>
> [2010-09-21 12:22:45 3630] INFO (SrvDaemon:332) Xend Daemon started
> [2010-09-21 12:22:45 3630] INFO (SrvDaemon:336) Xend changeset: unavailable.
> [2010-09-21 12:22:45 3630] ERROR (SrvDaemon:349) Exception starting xend
> ((13, 'Permission denied'))
> Traceback (most recent call last):
>   File "usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
> line 341, 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__
>     self.get(name)
>   File "usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 84, 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 948,
> in instance
>     inst = XendNode()
>   File "usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 91, in
> __init__
>     self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"]
>   File "usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 937,
> in xeninfo_dict
>     return dict(self.xeninfo())
>   File "usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 881,
> in xeninfo
>     info['xen_scheduler'] = self.xenschedinfo()
>   File "usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 871,
> in xenschedinfo
>     sched_id = self.xc.sched_id_get()
> Error: (13, 'Permission denied')

Did you compile with XEN_PYTHON_NATIVE_INSTALL=1 option?  If I
remember it correctly, default is installed in
/usr/lib/python/site-package/xen for x86_32 so I assume for x86_64
should be in /usr/lib64/python/site-package/xen unless
XEN_PYTHON_NATIVE_INSTALL is set during compilation.  Someone correct
me if I am wrong though :p  If you compile from source did you also
install vendor xen package as well?  I hope not... ...

Kindest regards,
Giam Teck Choon

P.S. Sorry, should reply to xen-devel list instead of replying to the
sender directly.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>