Hey, Done a fresh yum based install of XEN on a fedora core 4 machine today. Boots into the kernel fine but when I try to run xend I just get the following looping over and over again: Exception connecting to xenstored: (2, ''No such file or directory'') Trying again... Has anyone got any ideas/suggestions on this problem? Thanks, Aaron _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have the same problem on FC4 as you do -- namely, when starting xend I get the following looping over and over: Exception connecting to xenstored: (2, ''No such file or directory''). After a while I''ll get Exception starting Xend: (2, ''No such file or directory''). Here''s my xend.log: [2005-08-30 11:59:24 xend] INFO (SrvDaemon:300) Xend Daemon started [2005-08-30 11:59:25 xend] INFO (channel:163) Virq 3 on port 14 [2005-08-30 12:00:05 xend] ERROR (SrvDaemon:312) Exception starting xend Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 305, in run servers = SrvServer.create() File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line 70, in create root.putChild(''xend'', SrvRoot()) File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 41, in __init__ self.get(name) File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get val = val.getobj() File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 38, in __init__ self.xd = XendDomain.instance() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 770, in instance inst = XendDomain() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 69, in __init__ self.dbmap = DBMap(db=XenNode("/domain")) File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 400, in __init__ self.store = getXenStore() File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 385, in getXenStore xenstore = XenStore() File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 166, in __init__ self.write("/", "") File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 275, in write self.getxs().write(path, data, create=create, excl=excl) File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 183, in getxs raise ex RuntimeError: (2, ''No such file or directory'') _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 2005-08-30 at 15:38 -0400, datto@charter.net wrote:> I have the same problem on FC4 as you do -- namely, when starting xend I get the following looping over and over: > > Exception connecting to xenstored: (2, ''No such file or directory''). > > After a while I''ll get Exception starting Xend: (2, ''No such file or directory''). > > Here''s my xend.log: > > > [2005-08-30 11:59:24 xend] INFO (SrvDaemon:300) Xend Daemon started > [2005-08-30 11:59:25 xend] INFO (channel:163) Virq 3 on port 14 > [2005-08-30 12:00:05 xend] ERROR (SrvDaemon:312) Exception starting xend > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 305, in run > servers = SrvServer.create() > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line 70, in create > root.putChild(''xend'', SrvRoot()) > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 41, in __init__ > self.get(name) > File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get > val = val.getobj() > File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj > self.obj = klassobj() > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 38, in __init__ > self.xd = XendDomain.instance() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 770, in instance > inst = XendDomain() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 69, in __init__ > self.dbmap = DBMap(db=XenNode("/domain")) > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 400, in __init__ > self.store = getXenStore() > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 385, in getXenStore > xenstore = XenStore() > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 166, in __init__ > self.write("/", "") > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 275, in write > self.getxs().write(path, data, create=create, excl=excl) > File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 183, in getxs > raise ex > RuntimeError: (2, ''No such file or directory'') > > > _______________________________________________As root mkdir /var/run/xenstore /var/lib/xenstore Regards, Ted _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Ted. That helped me -- I figured it out it as mkdir /var/lib/xenstored and /var/run/xenstored (with the "d"s on the end) and that allowed my "xend start" command to occur without all the error messages and I can now xm list. For anyone else reading this later, it''s with FC4 and this entry in Grub (lines may wrap): title Fedora Core (2.6.12-1.1447_FC4xen0) root (hd0,0) kernel /xen.gz dom0_mem=262144 module /vmlinuz-2.6.12-1.1447_FC4xen0 ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.12-1.1447_FC4xen0.img Datto _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users