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

Re: [Xen-users] xen not working: xmlrpc.sock doesn't exist

To: "Manuel Rodriguez Pascual" <supermanue@xxxxxxxxx>
Subject: Re: [Xen-users] xen not working: xmlrpc.sock doesn't exist
From: "Ryan Burke" <burke@xxxxxxxxxxxxxxxxx>
Date: Wed, 27 Jun 2007 13:57:53 -0500 (CDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Jun 2007 11:55:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <a1c282000706271152y2b8189c6jb16c418948ad5b03@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <a1c282000706271152y2b8189c6jb16c418948ad5b03@xxxxxxxxxxxxxx>
Reply-to: burke@xxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.8
> 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


Can 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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