[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] FIX: was Re: "Exception starting xend ((2, 'No such file or directory'))" - what file?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Dick Davies" <rasputnik@xxxxxxxxx>
  • Date: Thu, 11 May 2006 12:20:34 +0100
  • Delivery-date: Thu, 11 May 2006 04:21:10 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ji0QJswtPGUJu4kx1d+wbQ6bwijEd5jRnkFOPsbT31oaszTfvKNKLBkUQE6hwJDrnFAX+Q83lo3sdBsoCHDKKjKOrxe26p0Iq7gTJp+Sp4/EXgvYCDv71xLlOZMth1c1Ybz2Oywlyzwh7hQOOE61xEg7OZRyCjWIZ8RoRduYXuE=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Poor form to reply to myself, I know.

Looks like Ubuntu Dapper clears out /var/run on reboot, so
I needed to add:

 mkdir -p /var/run/xenstored

to the top of the initscript to ensure dom0 comes up.

IMO it's usual to assume /var/run is transient, so it might be
an idea for xenstored to ensure it's created before trying to use it.

(We don't have a /var/lock/subsys either, but that looks less fatal :) )

On 11/05/06, Dick Davies <rasputnik@xxxxxxxxx> wrote:
Hi all, I can't get xend to start and could do with some help.

this is the stock 30.2 release. it was working fine on ubuntu breezy,
and since I've updated to dapper it's boned...

The odd thing is, if I run the installer, I can start xend ok. but when
I reboot it's broken again.

I'm guessing a directory is being deleted by ubuntu at reboot time -
is there an easy way to figure out what exactly xend is trying to open?

[2006-05-11 11:17:21 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-05-11 11:17:21 xend] INFO (SrvDaemon:282) Xend changeset: Thu
Apr 13 15:18:37 2006 +0100 9617:5802713c159b.
[2006-05-11 11:17:21 xend] ERROR (SrvDaemon:292) Exception starting
xend ((2, 'No such file or directory'))
Traceback (most recent call last):
  File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 286, in run
    servers = SrvServer.create()
  File "/usr/lib/python/xen/xend/server/SrvServer.py", line 108, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/python/xen/xend/server/SrvRoot.py", line 40, in __init__
    self.get(name)
  File "/usr/lib/python/xen/web/SrvDir.py", line 82, in get
    val = val.getobj()
  File "/usr/lib/python/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 39, in __init__
    self.xd = XendDomain.instance()
  File "/usr/lib/python/xen/xend/XendDomain.py", line 582, in instance
    inst.init()
  File "/usr/lib/python/xen/xend/XendDomain.py", line 70, in init
    xstransact.Mkdir(VMROOT)
  File "/usr/lib/python/xen/xend/xenstore/xstransact.py", line 317, in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/python/xen/xend/xenstore/xstransact.py", line 323, in complete
    t = xstransact(path)
  File "/usr/lib/python/xen/xend/xenstore/xstransact.py", line 20, in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/python/xen/xend/xenstore/xsutil.py", line 18, in xshandle
    xs_handle = xen.lowlevel.xs.xs()
RuntimeError: (2, 'No such file or directory')
(END)

--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/



--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.