Subject: Re: Xen3 problems
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 04/23/2007 12:49:05
On Mon, Apr 23, 2007 at 10:49:23AM +0300, Martti Kuparinen wrote:
> I'm having problems to setup a new NetBSD/xen 4.0_BETA2 box for Xen3 dom0. 
> What am I doing wrong?
> 
> 
> ROOT xen3:~> xm list
> Error: Unable to connect to xend: No such file or directory. Is xend 
> running?

I think it's trying to connect to /var/run/xend/xmlrpc.sock.
Do you have anything in /var/run/xend ?

> [...]
> [2007-04-23 10:31:47 xend 1892] INFO (SrvDaemon:287) Xend changeset: Mon 
> Jan 08 14:09:18 2007 +0000 13130:a23a5f674422.
> [2007-04-23 10:31:47 xend 1892] ERROR (SrvDaemon:297) Exception starting 
> xend ((13, 'Permission denied'))
> Traceback (most recent call last):
>   File "/usr/pkg/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", 
> line 291, in run
>     servers = SrvServer.create()
>   File "/usr/pkg/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", 
> line 108, in create
>     root.putChild('xend', SrvRoot())
>   File "/usr/pkg/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", 
>   line 40, in __init__
>     self.get(name)
>   File "/usr/pkg/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, 
>   in get
>     val = val.getobj()
>   File "/usr/pkg/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, 
>   in getobj
>     self.obj = klassobj()
>   File 
>   "/usr/pkg/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", 
> line 39, in __init__
>     self.xd = XendDomain.instance()
>   File "/usr/pkg/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 
>   655, in instance
>     inst.init()
>   File "/usr/pkg/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 
>   76, in init
>     self._add_domain(
>   File "/usr/pkg/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 
>   139, in xen_domains
>     domlist = xc.domain_getinfo()
> Error: (13, 'Permission denied')

Do you get this from a fresh boot too ? xend restart may not always work ...

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--