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

Re: [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 15:57:20 +0100
  • Delivery-date: Thu, 11 May 2006 07:57:54 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BdBl4wexFBYCgjFtb6cMS2+2gjb9ZLByH5h+RaVkW9yLfYkWwhVqEliXzuB/y5N/ZWbfouuCteoHOIhTl+Z1k0NBWRFkFA6BfFYZXTGedEMqIkqEKRqpb92UYZwjgId9iikxXzhlsmfi+4hCY6t0lQCVUdV1YWlkjY97nQe1IuA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 11/05/06, Frank Meyer <frank@xxxxxxxx> wrote:
Dick Davies wrote:

> Someone on ubuntu-users mentioned that, but
> ...(removes it and reboots to check)...
> yeah, /var/run/xend *is* being created properly, with xen 3.0.2.

On my xen-3.0.2 system /var/run/xend has *not* being created by xend:

eis # rm -r /var/run/xenstored /var/run/xend
eis # /etc/init.d/xend start
eis # ps -ef | grep xend
root      2727     1  0 17:30 ?        00:00:00 python /usr/sbin/xend start
root      2729  2727  0 17:30 ?        00:00:00 python /usr/sbin/xend start
root      2731  2729  0 17:30 ?        00:00:00 python /usr/sbin/xend start
root      2732  2731  0 17:30 ?        00:00:00 python /usr/sbin/xend start
root      2738  2676  0 17:30 pts/0    00:00:00 grep xend
eis # xm create -c xmeisfair
Using config file "/etc/xen/xmeisfair".
Error: (2, 'No such file or directory')            <----- here it is!
eis # ls -l /var/run/xenstored /var/run/xend
ls: /var/run/xenstored: No such file or directory


Got t. If you make the xenstored directory, then xend can do its own:


planb:~/ $ rm -r /var/run/xend* /var/run/xenstore*
planb:~/ $ /etc/init.d/xend start
planb:~/ $ ls -ld /var/run/xend /var/run/xenstored
ls: /var/run/xend: No such file or directory
ls: /var/run/xenstored: No such file or directory
planb:~/ $ /etc/init.d/xend stop
planb:~/ $ vi /etc/init.d/xend
# add a line at the top to 'mkdir -p /var/run/xenstored'
planb:~/ $ /etc/init.d/xend start
planb:~/ $ ls -ld /var/run/xend /var/run/xenstored
drwx------ 2 root root 60 2006-05-11 15:53 /var/run/xend
drwxr-xr-x 2 root root 80 2006-05-11 15:53 /var/run/xenstored

Probably worth doing it in xen itself, so you don't pick up a  screwy umask
like I just did (755 probably not the best permissions to put on the xenstored/
directory...)


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