xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* XM Command not working on CentOS 5.5
@ 2010-10-01 15:57 Nimgaonkar, Satyajeet
       [not found] ` <AANLkTin92-LM5dW+x8t3y8nrG5VFRQ0dAJMg_xtEU4Fp@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Nimgaonkar, Satyajeet @ 2010-10-01 15:57 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com


[-- Attachment #1.1: Type: text/plain, Size: 2012 bytes --]

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.
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')


Can anyone please help me fix this problem.
Thanks.

Regards,
Satyajeet Nimgaonkar



[-- Attachment #1.2: Type: text/html, Size: 3060 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: XM Command not working on CentOS 5.5
       [not found] ` <AANLkTin92-LM5dW+x8t3y8nrG5VFRQ0dAJMg_xtEU4Fp@mail.gmail.com>
@ 2010-10-01 22:29   ` Teck Choon Giam
  0 siblings, 0 replies; 2+ messages in thread
From: Teck Choon Giam @ 2010-10-01 22:29 UTC (permalink / raw)
  To: xen-devel

---------- Forwarded message ----------
From: Teck Choon Giam <giamteckchoon@gmail.com>
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@my.unt.edu>


On Fri, Oct 1, 2010 at 11:57 PM, Nimgaonkar, Satyajeet
<SatyajeetNimgaonkar@my.unt.edu> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-01 22:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 15:57 XM Command not working on CentOS 5.5 Nimgaonkar, Satyajeet
     [not found] ` <AANLkTin92-LM5dW+x8t3y8nrG5VFRQ0dAJMg_xtEU4Fp@mail.gmail.com>
2010-10-01 22:29   ` Teck Choon Giam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).