[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?
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |