Michael Mendoza
2006-Jun-11 05:22 UTC
[Xen-users] Error conecting to xend: no such file or directory. Is xend running?
Hi, i just install ubuntu dapper, I install xen 3.0.2, with the install.sh script, edited the menu.lst, installed xen-tools with aptitude, I used the comand xen-create-image, but when I run: # xm create -c andromeda2.cfg Using config file "/etc/xen/andromeda2.cfg". Error: (2, ''No such file or directory'') and then I wrote xm list but i got this: Error: Error connecting to xend: No such file or directory. Is xend running? In the log is this: . . ........ 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'') In xend-debug.log: Exception starting xend: (2, ''No such file or directory'') What is the problem?How can I fix that? Sorry by my english, i dont write so much... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steve Kemp
2006-Jun-11 07:45 UTC
Re: [Xen-users] Error conecting to xend: no such file or directory. Is xend running?
On Sun, Jun 11, 2006 at 01:22:15AM -0400, Michael Mendoza wrote:> Hi, i just install ubuntu dapper, I install xen 3.0.2, with the > install.sh script, edited the menu.lst, installed xen-tools with > aptitude, I used the comand xen-create-image, but when I run: > > # xm create -c andromeda2.cfg > Using config file "/etc/xen/andromeda2.cfg". > Error: (2, ''No such file or directory'')Looks like there is no configuration file present. Did you check to see it had been created?> and then I wrote xm list but i got this: > > Error: Error connecting to xend: No such file or directory. Is xend > running?..> In xend-debug.log: > Exception starting xend: (2, ''No such file or directory'')Do you have xend installed?> What is the problem?How can I fix that?Looks like you have several files missing, according to the error message. The first thing to do would be to check those files actually do exist, if they don''t create/install them. If they do exist then you''d need to find out why they''re not being found. Steve -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quintin Russ
2006-Jun-11 08:25 UTC
Re: [Xen-users] Error conecting to xend: no such file or directory. Is xend running?
Hi Michael, Sounds like the directories: /var/run/xenstored /var/run/xend are not being created. I added the following code to /etc/init.d/xend which seems to make the problem go away, unfortunately it doesn''t happen immediately on boot (anyone else suggest why?) So when I boot the server I go # /etc/init.d/xend restart That generally fixes it. Code: function await_daemons_up { # STHFIX - On Ubuntu /var/run/xenstored does not exist after reboot if [ ! -d /var/run/xenstored ] ; then mkdir /var/run/xenstored fi if [ ! -d /var/run/xend ] ; then mkdir /var/run/xend fi #STHFIX END Code END Best Regards, Quintin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Michael Mendoza
2006-Jun-12 01:18 UTC
Fwd: [Xen-users] Error conecting to xend: no such file or directory. Is xend running?
---------- Forwarded message ---------- From: Quintin Russ <xen@quintin.co.nz> Date: 11-jun-2006 4:25 Subject: Re: [Xen-users] Error conecting to xend: no such file or directory. Is xend running? To: Michael Mendoza <michaelux@gmail.com> Cc: xen-users@lists.xensource.com Yes, i created this but dont work... /var/run/xenstored /var/run/xend Yes, i installed xen, with the install.sh.. I added the following code to /etc/init.d/xend which seems to make the problem go away, unfortunately it doesn''t happen immediately on boot (anyone else suggest why?) So when I boot the server I go # /etc/init.d/xend restart That generally fixes it. Code: function await_daemons_up { # STHFIX - On Ubuntu /var/run/xenstored does not exist after reboot if [ ! -d /var/run/xenstored ] ; then mkdir /var/run/xenstored fi if [ ! -d /var/run/xend ] ; then mkdir /var/run/xend fi #STHFIX END Code END Best Regards, Quintin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users