---------- 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
|