Hi , I have installed xen 3.4.2 package on FC12. My dom 0 kernel is kernel-PAE-2.6.31.6-1.2.81.xendom0.fc12.i686.rpm. My machine is 32 bit Intel HT machine. I am successfully able to boot the dom 0 but xend fails to start. My xend.log shows: [2009-12-21 14:14:18 1805] INFO (SrvDaemon:332) Xend Daemon started [2009-12-21 14:14:18 1805] INFO (SrvDaemon:336) Xend changeset: unavailable. [2009-12-21 14:14:20 1805] ERROR (SrvDaemon:349) Exception starting xend ((111, ''Connection refused'')) Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvServer.py", line 251, in create root.putChild(''xend'', SrvRoot()) File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) File "/usr/lib/python2.6/site-packages/xen/web/SrvDir.py", line 84, in get val = val.getobj() File "/usr/lib/python2.6/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvNode.py", line 30, in __init__ self.xn = XendNode.instance() File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line 949, in instance inst.save() File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line 484, in save self.save_networks() File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line 499, in save_networks for network_uuid in XendNetwork.get_all()]) File "/usr/lib/python2.6/site-packages/xen/xend/XendBase.py", line 102, in get_record for key in keys]) File "/usr/lib/python2.6/site-packages/xen/xend/XendNetwork.py", line 196, in get_VIFs vms = XendDomain.instance().get_all_vms() File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line 1778, in instance inst.init() File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line 113, in init xstransact.Mkdir(XS_VMROOT) File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", line 355, in Mkdir complete(path, lambda t: t.mkdir(*args)) File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", line 361, in complete t = xstransact(path) File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__ self.transaction = xshandle().transaction_start() File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() Error: (111, ''Connection refused'') [2009-12-21 14:14:21 1804] INFO (SrvDaemon:220) Xend exited with status 1. I know lot of people have got this error , but i tried all possible tweaks but not able to make xend running. I have attached xend-debug.log and xend.trace . I have entry in fstab and also i have disabled selinux. In xend-debug.log file shows some scsi files missing. Any ideas? Thanks Vipul
On Tue, Dec 22, 2009 at 11:40:44AM +0530, vipul borikar wrote:> Hi , > I have installed xen 3.4.2 package on FC12. >Are you using the Fedora xen-3.4.2 rpms ?> My dom 0 kernel is kernel-PAE-2.6.31.6-1.2.81.xendom0.fc12.i686.rpm. My > machine is 32 bit Intel HT machine. > > I am successfully able to boot the dom 0 but xend fails to start. > > My xend.log shows: > > [2009-12-21 14:14:18 1805] INFO (SrvDaemon:332) Xend Daemon started > [2009-12-21 14:14:18 1805] INFO (SrvDaemon:336) Xend changeset: > unavailable. > [2009-12-21 14:14:20 1805] ERROR (SrvDaemon:349) Exception starting xend > ((111, ''Connection refused'')) > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", > line 341, in run > servers = SrvServer.create() > File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvServer.py", > line 251, in create > root.putChild(''xend'', SrvRoot()) > File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvRoot.py", line > 40, in __init__ > self.get(name) > File "/usr/lib/python2.6/site-packages/xen/web/SrvDir.py", line 84, in > get > val = val.getobj() > File "/usr/lib/python2.6/site-packages/xen/web/SrvDir.py", line 52, in > getobj > self.obj = klassobj() > File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvNode.py", line > 30, in __init__ > self.xn = XendNode.instance() > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line 949, > in instance > inst.save() > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line 484, > in save > self.save_networks() > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line 499, > in save_networks > for network_uuid in XendNetwork.get_all()]) > File "/usr/lib/python2.6/site-packages/xen/xend/XendBase.py", line 102, > in get_record > for key in keys]) > File "/usr/lib/python2.6/site-packages/xen/xend/XendNetwork.py", line > 196, in get_VIFs > vms = XendDomain.instance().get_all_vms() > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line > 1778, in instance > inst.init() > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line > 113, in init > xstransact.Mkdir(XS_VMROOT) > File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > line 355, in Mkdir > complete(path, lambda t: t.mkdir(*args)) > File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > line 361, in complete > t = xstransact(path) > File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > line 29, in __init__ > self.transaction = xshandle().transaction_start() > File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xsutil.py", > line 18, in xshandle > xs_handle = xen.lowlevel.xs.xs() > Error: (111, ''Connection refused'') > [2009-12-21 14:14:21 1804] INFO (SrvDaemon:220) Xend exited with status 1. > > I know lot of people have got this error , but i tried all possible tweaks > but not able to make xend running. > > I have attached xend-debug.log and xend.trace . > > I have entry in fstab and also i have disabled selinux. > > In xend-debug.log file shows some scsi files missing. > > Any ideas? >I think the latest dom0 kernels rename evtchn to xen-evtchn, so you need to make sure those modules are loaded. xend requires them. Latest Fedora xen-3.4.2 rpms should take care of that. If you installed from source, then that''s likely your problem. -- Pasi
Thanks for the tip. Fedora xen rpm worked. Previously i was using source packages. But what is the solution if i use source package? I renamed the file xen-evtchn to evtchn in modules folder and did depmod , it didn''t work. Anything i need to change in source files ? Thanks Vipul On Tue, Dec 22, 2009 at 2:32 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Tue, Dec 22, 2009 at 11:40:44AM +0530, vipul borikar wrote: > > Hi , > > I have installed xen 3.4.2 package on FC12. > > > > Are you using the Fedora xen-3.4.2 rpms ? > > > > My dom 0 kernel is kernel-PAE-2.6.31.6-1.2.81.xendom0.fc12.i686.rpm. > My > > machine is 32 bit Intel HT machine. > > > > I am successfully able to boot the dom 0 but xend fails to start. > > > > My xend.log shows: > > > > [2009-12-21 14:14:18 1805] INFO (SrvDaemon:332) Xend Daemon started > > [2009-12-21 14:14:18 1805] INFO (SrvDaemon:336) Xend changeset: > > unavailable. > > [2009-12-21 14:14:20 1805] ERROR (SrvDaemon:349) Exception starting > xend > > ((111, ''Connection refused'')) > > Traceback (most recent call last): > > File > "/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", > > line 341, in run > > servers = SrvServer.create() > > File > "/usr/lib/python2.6/site-packages/xen/xend/server/SrvServer.py", > > line 251, in create > > root.putChild(''xend'', SrvRoot()) > > File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvRoot.py", > line > > 40, in __init__ > > self.get(name) > > File "/usr/lib/python2.6/site-packages/xen/web/SrvDir.py", line 84, > in > > get > > val = val.getobj() > > File "/usr/lib/python2.6/site-packages/xen/web/SrvDir.py", line 52, > in > > getobj > > self.obj = klassobj() > > File "/usr/lib/python2.6/site-packages/xen/xend/server/SrvNode.py", > line > > 30, in __init__ > > self.xn = XendNode.instance() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line > 949, > > in instance > > inst.save() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line > 484, > > in save > > self.save_networks() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", line > 499, > > in save_networks > > for network_uuid in XendNetwork.get_all()]) > > File "/usr/lib/python2.6/site-packages/xen/xend/XendBase.py", line > 102, > > in get_record > > for key in keys]) > > File "/usr/lib/python2.6/site-packages/xen/xend/XendNetwork.py", > line > > 196, in get_VIFs > > vms = XendDomain.instance().get_all_vms() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line > > 1778, in instance > > inst.init() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", line > > 113, in init > > xstransact.Mkdir(XS_VMROOT) > > File > "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > > line 355, in Mkdir > > complete(path, lambda t: t.mkdir(*args)) > > File > "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > > line 361, in complete > > t = xstransact(path) > > File > "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > > line 29, in __init__ > > self.transaction = xshandle().transaction_start() > > File "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xsutil.py", > > line 18, in xshandle > > xs_handle = xen.lowlevel.xs.xs() > > Error: (111, ''Connection refused'') > > [2009-12-21 14:14:21 1804] INFO (SrvDaemon:220) Xend exited with > status 1. > > > > I know lot of people have got this error , but i tried all possible > tweaks > > but not able to make xend running. > > > > I have attached xend-debug.log and xend.trace . > > > > I have entry in fstab and also i have disabled selinux. > > > > In xend-debug.log file shows some scsi files missing. > > > > Any ideas? > > > > I think the latest dom0 kernels rename evtchn to xen-evtchn, so you need > to make sure those modules are loaded. xend requires them. > > Latest Fedora xen-3.4.2 rpms should take care of that. If you installed > from source, then that''s likely your problem. > > -- Pasi > >
On Wed, Dec 23, 2009 at 09:35:05AM +0530, vipul borikar wrote:> Thanks for the tip. Fedora xen rpm worked. > Previously i was using source packages. > > But what is the solution if i use source package? > I renamed the file xen-evtchn to evtchn in modules folder and did depmod , > it didn''t work. > Anything i need to change in source files ? >Don''t rename. Just load xen-evtchn, not evtchn. That''s the only "fix" Fedora xen rpms have. -- Pasi> Thanks > Vipul > > On Tue, Dec 22, 2009 at 2:32 PM, Pasi Kärkkäinen <[1]pasik@iki.fi> wrote: > > On Tue, Dec 22, 2009 at 11:40:44AM +0530, vipul borikar wrote: > > Hi , > > I have installed xen 3.4.2 package on FC12. > > > > Are you using the Fedora xen-3.4.2 rpms ? > > > My dom 0 kernel is > kernel-PAE-2.6.31.6-1.2.81.xendom0.fc12.i686.rpm. My > > machine is 32 bit Intel HT machine. > > > > I am successfully able to boot the dom 0 but xend fails to start. > > > > My xend.log shows: > > > > [2009-12-21 14:14:18 1805] INFO (SrvDaemon:332) Xend Daemon started > > [2009-12-21 14:14:18 1805] INFO (SrvDaemon:336) Xend changeset: > > unavailable. > > [2009-12-21 14:14:20 1805] ERROR (SrvDaemon:349) Exception starting > xend > > ((111, ''Connection refused'')) > > Traceback (most recent call last): > > File > "/usr/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", > > line 341, in run > > servers = SrvServer.create() > > File > "/usr/lib/python2.6/site-packages/xen/xend/server/SrvServer.py", > > line 251, in create > > root.putChild(''xend'', SrvRoot()) > > File > "/usr/lib/python2.6/site-packages/xen/xend/server/SrvRoot.py", line > > 40, in __init__ > > self.get(name) > > File "/usr/lib/python2.6/site-packages/xen/web/SrvDir.py", line > 84, in > > get > > val = val.getobj() > > File "/usr/lib/python2.6/site-packages/xen/web/SrvDir.py", line > 52, in > > getobj > > self.obj = klassobj() > > File > "/usr/lib/python2.6/site-packages/xen/xend/server/SrvNode.py", line > > 30, in __init__ > > self.xn = XendNode.instance() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", > line 949, > > in instance > > inst.save() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", > line 484, > > in save > > self.save_networks() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendNode.py", > line 499, > > in save_networks > > for network_uuid in XendNetwork.get_all()]) > > File "/usr/lib/python2.6/site-packages/xen/xend/XendBase.py", > line 102, > > in get_record > > for key in keys]) > > File "/usr/lib/python2.6/site-packages/xen/xend/XendNetwork.py", > line > > 196, in get_VIFs > > vms = XendDomain.instance().get_all_vms() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", > line > > 1778, in instance > > inst.init() > > File "/usr/lib/python2.6/site-packages/xen/xend/XendDomain.py", > line > > 113, in init > > xstransact.Mkdir(XS_VMROOT) > > File > "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > > line 355, in Mkdir > > complete(path, lambda t: t.mkdir(*args)) > > File > "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > > line 361, in complete > > t = xstransact(path) > > File > "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py", > > line 29, in __init__ > > self.transaction = xshandle().transaction_start() > > File > "/usr/lib/python2.6/site-packages/xen/xend/xenstore/xsutil.py", > > line 18, in xshandle > > xs_handle = xen.lowlevel.xs.xs() > > Error: (111, ''Connection refused'') > > [2009-12-21 14:14:21 1804] INFO (SrvDaemon:220) Xend exited with > status 1. > > > > I know lot of people have got this error , but i tried all possible > tweaks > > but not able to make xend running. > > > > I have attached xend-debug.log and xend.trace . > > > > I have entry in fstab and also i have disabled selinux. > > > > In xend-debug.log file shows some scsi files missing. > > > > Any ideas? > > > > I think the latest dom0 kernels rename evtchn to xen-evtchn, so you need > to make sure those modules are loaded. xend requires them. > > Latest Fedora xen-3.4.2 rpms should take care of that. If you installed > from source, then that''s likely your problem. > -- Pasi > > References > > Visible links > 1. mailto:pasik@iki.fi