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

Re: [Xen-users] Error: (2, 'No such file or directory')



Quoting Morten Christensen <mc-xen@xxxxx>:
Every time I reboot, then /var/run/xenstored is deleted.
If xend is started without an existing xenstored, than it does not work. If I stop xend, create xenstored and start xend, then I do not get theis error.

How are you starting xend ?

I modified /etc/init.d/xend, adding these lines

# on Ubuntu (Debian too?) /var/run/xenstored does not exist after reboot
if [ ! -d /var/run/xenstored ] ; then
  mkdir /var/run/xenstored
fi

and in /etc/init.d/xendomains I changed
 LOCKFILE=/var/lock/subsys/xendomains
to
 LOCKFILE=/var/lock/xendomains

Peter


_______________________________________________
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®.