Hi all,
I have some serious problems making Xen run. I have spent a couple of days
looking in Google and trying a lot of different things, but none of them has
worked. I hope you can help me...
First of all: xen was running smoothly on my machine, but suddenly (I think
I haven''t changed any configuration) it doesn''t work anymore.
I am using a Debian 4.0 with Xen 3.
When I run /etc/init.d/xend start, it works ok. With ps -aux | grep xen I
get the following output:
root 12 0.0 0.0 0 0 ? S< 20:06 0:00 [xenwatch]
root 13 0.0 0.0 0 0 ? S< 20:06 0:00 [xenbus]
root 4148 0.0 0.1 1732 676 ? S 20:07 0:00 xenstored
--pid-file=/var/run/xenstore.pid
root 4156 0.0 0.1 10152 480 ? S 20:07 0:00 xenconsoled
root 4157 0.0 0.1 10152 480 ? S 20:07 0:00 xenconsoled
root 4158 0.0 0.1 10152 480 ? S 20:07 0:00 xenconsoled
root 4691 0.0 0.8 9340 3808 ? S 20:34 0:00 python
/usr/sbin/xend start
root 4692 0.5 1.0 17504 4648 ? Sl 20:34 0:00 python
/usr/sbin/xend start
It looks OK.
But when i try xm list the following error arises
Error: Error connecting to xend: No such file or directory. Is xend
running?
This is a very common error. Many people solves it by creating /var/run/xend
and /var/run/xenstored by hand. I did it, and gave them +777, so the problem
is not here.
/var/log/xend.log has the following content:
[2007-06-27 20:34:58 xend] INFO (__init__:1072) Xend Daemon started
[2007-06-27 20:34:58 xend] INFO (__init__:1072) Xend changeset: Mon Jan 08
14:09:18 2007 +0000 13130:a23a5f674422.
[2007-06-27 20:34:58 xend] ERROR (__init__:1072) Exception starting xend
((38, ''Function not implemented''))
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
286, in run
servers = SrvServer.create()
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line
108, in create
root.putChild(''xend'', SrvRoot())
File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py",
line
40, in __init__
self.get(name)
File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82,
in get
val = val.getobj()
File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52,
in
getobj
self.obj = klassobj()
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 39, in __init__
self.xd = XendDomain.instance()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
582,
in instance
inst.init()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
75,
in init
self._add_domain(
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
138,
in xen_domains
domlist = xc.domain_getinfo()
error: (38, ''Function not implemented'')
also, I tried strace xm list 2>&1 to see what''s exactly
happening.
Everything works correctly until it tries to open /var/run/xend/xmlrpc.sock
, wich doesn''t exists. this is the output.
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/xend/xmlrpc.sock"}, 27)
= -1
ENOENT (No such file or directory)
geteuid32() = 0
write(2, "Error:", 6Error:) = 6
write(2, " ", 1 ) = 1
write(2, "Error connecting to xend: No suc"..., 70Error connecting to
xend:
No such file or directory. Is xend running?) = 70
write(2, "\n", 1) = 1
I don''t know if I have posted too much information, but I
don''t really have
any clue of what''s going wrong, so can''t decide what is
important and what
isn''t.
Excuse me for my poor english.
Thanks for your help,
Manuel
--
View this message in context:
http://www.nabble.com/xen-not-working%3A-xmlrpc.sock-doesn%27t-exist-tf3990217.html#a11330402
Sent from the Xen - User mailing list archive at Nabble.com.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Manuel Rodriguez Pascual
2007-Jun-27 18:52 UTC
[Xen-users] xen not working: xmlrpc.sock doesn''t exist
Hi all,
I have some serious problems making Xen run. I have spent a couple of days
looking in Google and trying a lot of different things, but none of them has
worked. I hope you can help me...
First of all: xen was running smoothly on my machine, but suddenly (I think
I haven''t changed any configuration) it doesn''t work anymore.
I am using a Debian 4.0 with Xen 3.
When I run /etc/init.d/xend start, it works ok. With *ps -aux | grep xen* I
get the following output:
*root 12 0.0 0.0 0 0 ? S< 20:06 0:00 [xenwatch]
root 13 0.0 0.0 0 0 ? S< 20:06 0:00 [xenbus]
root 4148 0.0 0.1 1732 676 ? S 20:07 0:00 xenstored
--pid-file=/var/run/xenstore.pid
root 4156 0.0 0.1 10152 480 ? S 20:07 0:00 xenconsoled
root 4157 0.0 0.1 10152 480 ? S 20:07 0:00 xenconsoled
root 4158 0.0 0.1 10152 480 ? S 20:07 0:00 xenconsoled
root 4691 0.0 0.8 9340 3808 ? S 20:34 0:00 python
/usr/sbin/xend start
root 4692 0.5 1.0 17504 4648 ? Sl 20:34 0:00 python
/usr/sbin/xend start*
It looks OK.
But when i try *xm list* the following error arises
*Error: Error connecting to xend: No such file or directory. Is xend
running?*
This is a very common error. Many people solves it by creating /var/run/xend
and /var/run/xenstored by hand. I did it, and gave them +777, so the problem
is not here.
/var/log/xend.log has the following content:
*[2007-06-27 20:34:58 xend] INFO (__init__:1072) Xend Daemon started
[2007-06-27 20:34:58 xend] INFO (__init__:1072) Xend changeset: Mon Jan 08
14:09:18 2007 +0000 13130:a23a5f674422.
[2007-06-27 20:34:58 xend] ERROR (__init__:1072) Exception starting xend
((38, ''Function not implemented''))
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
286, in run
servers = SrvServer.create()
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line
108, in create
root.putChild(''xend'', SrvRoot())
File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py",
line
40, in __init__
self.get(name)
File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82,
in get
val = val.getobj()
File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52,
in
getobj
self.obj = klassobj()
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 39, in __init__
self.xd = XendDomain.instance()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
582,
in instance
inst.init()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
75,
in init
self._add_domain(
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
138,
in xen_domains
domlist = xc.domain_getinfo()
error: (38, ''Function not implemented'')*
also, I tried *strace xm list 2>&1* to see what''s exactly
happening.
Everything works correctly until it tries to open /var/run/xend/xmlrpc.sock
, wich doesn''t exists. this is the output.
*socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/xend/xmlrpc.sock"}, 27)
= -1
ENOENT (No such file or directory)
geteuid32() = 0
write(2, "Error:", 6Error:) = 6
write(2, " ", 1 ) = 1
write(2, "Error connecting to xend: No suc"..., 70Error connecting to
xend:
No such file or directory. Is xend running?) = 70
write(2, "\n", 1) = 1*
I don''t know if I have posted too much information, but I
don''t really have
any clue of what''s going wrong, so can''t decide what is
important and what
isn''t.
Excuse me for my poor english.
Thanks for your help,
Manuel
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Ryan Burke
2007-Jun-27 18:57 UTC
Re: [Xen-users] xen not working: xmlrpc.sock doesn''t exist
> Hi all, > > I have some serious problems making Xen run. I have spent a couple of days > looking in Google and trying a lot of different things, but none of them > has > worked. I hope you can help me... > First of all: xen was running smoothly on my machine, but suddenly (I > think > I haven''t changed any configuration) it doesn''t work anymore. > > I am using a Debian 4.0 with Xen 3. > > When I run /etc/init.d/xend start, it works ok. With *ps -aux | grep xen* > I > get the following output: > *root 12 0.0 0.0 0 0 ? S< 20:06 0:00 > [xenwatch] > > root 13 0.0 0.0 0 0 ? S< 20:06 0:00 [xenbus] > root 4148 0.0 0.1 1732 676 ? S 20:07 0:00 xenstored > --pid-file=/var/run/xenstore.pid > root 4156 0.0 0.1 10152 480 ? S 20:07 0:00 > xenconsoled > > root 4157 0.0 0.1 10152 480 ? S 20:07 0:00 > xenconsoled > > root 4158 0.0 0.1 10152 480 ? S 20:07 0:00 > xenconsoled > > root 4691 0.0 0.8 9340 3808 ? S 20:34 0:00 python > /usr/sbin/xend start > root 4692 0.5 1.0 17504 4648 ? Sl 20:34 0:00 python > /usr/sbin/xend start* > > It looks OK. > > > But when i try *xm list* the following error arises > *Error: Error connecting to xend: No such file or directory. Is xend > running?* > > This is a very common error. Many people solves it by creating > /var/run/xend > and /var/run/xenstored by hand. I did it, and gave them +777, so the > problem > is not here. > > > /var/log/xend.log has the following content: > > *[2007-06-27 20:34:58 xend] INFO (__init__:1072) Xend Daemon started > [2007-06-27 20:34:58 xend] INFO (__init__:1072) Xend changeset: Mon Jan 08 > 14:09:18 2007 +0000 13130:a23a5f674422. > [2007-06-27 20:34:58 xend] ERROR (__init__:1072) Exception starting xend > ((38, ''Function not implemented'')) > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", > line > 286, in run > servers = SrvServer.create() > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", > line > 108, in create > root.putChild(''xend'', SrvRoot()) > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line > 40, in __init__ > self.get(name) > File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in > get > > val = val.getobj() > File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in > getobj > self.obj = klassobj() > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", > line 39, in __init__ > self.xd = XendDomain.instance() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line > 582, > in instance > inst.init() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 75, > in init > self._add_domain( > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line > 138, > in xen_domains > domlist = xc.domain_getinfo() > error: (38, ''Function not implemented'')* > > > also, I tried *strace xm list 2>&1* to see what''s exactly happening. > Everything works correctly until it tries to open > /var/run/xend/xmlrpc.sock > , wich doesn''t exists. this is the output. > > *socket(PF_FILE, SOCK_STREAM, 0) = 3 > connect(3, {sa_family=AF_FILE, path="/var/run/xend/xmlrpc.sock"}, 27) = -1 > ENOENT (No such file or directory) > geteuid32() = 0 > write(2, "Error:", 6Error:) = 6 > write(2, " ", 1 ) = 1 > write(2, "Error connecting to xend: No suc"..., 70Error connecting to > xend: > No such file or directory. Is xend running?) = 70 > write(2, "\n", 1) = 1* > > > I don''t know if I have posted too much information, but I don''t really > have > any clue of what''s going wrong, so can''t decide what is important and what > isn''t. > > Excuse me for my poor english. > > Thanks for your help, > > ManuelCan you post the contents of your /etc/xen/xend-config.sxp config file? You might want to look at it and make sure that the XML RPC server is enabled. Ryan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users