Tegger
2010-Jul-01 18:04 UTC
[Xen-users] Error: Unable to connect to xend: No such file or directory. Is xend running?
Hi, today i tried an fresh xen 4.0.0 install. its an minimal debian lenny installation with aptitude install bcc bin86 bison binutils build-essential \ cpp flex g++ gawk gcc git-core gnupg grub iasl initramfs-tools \ zlib1g-dev python-dev bridge-utils udev xorg-dev libncurses5-dev \ m4 mercurial lvm2 python gettext uuid-dev libssl-dev texinfo then normal make world make install update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 there seems to be no error except the missing latex package. but after reboot with xen 2.6.31.13 Kernel, i can''t use xm. ----------------------------------------------------------------------------------------- DOM0:~# xm list Error: Unable to connect to xend: No such file or directory. Is xend running? ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- [2010-07-01 19:55:27 3119] INFO (SrvDaemon:332) Xend Daemon started [2010-07-01 19:55:27 3119] INFO (SrvDaemon:336) Xend changeset: unavailable. [2010-07-01 19:55:29 3119] ERROR (SrvDaemon:349) Exception starting xend ((111, ''Connection refused'')) Traceback (most recent call last): File "usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "usr/lib/python2.5/site-packages/xen/xend/server/SrvServer.py", line 251, in create root.putChild(''xend'', SrvRoot()) File "usr/lib/python2.5/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__self.get(name) File "usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 84, in get val = val.getobj() File "usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "usr/lib/python2.5/site-packages/xen/xend/server/SrvNode.py", line 30, in __init__self.xn = XendNode.instance() File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line 1141, in instanceinst.save() File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line 578, in saveself.save_networks() File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line 594, in save_networks for network_uuid in XendNetwork.get_all()]) File "usr/lib/python2.5/site-packages/xen/xend/XendBase.py", line 102, in get_record for key in keys]) File "usr/lib/python2.5/site-packages/xen/xend/XendNetwork.py", line 196, in get_VIFs vms = XendDomain.instance().get_all_vms() File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 1882, in instance inst.init() File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 114, in init xstransact.Mkdir(XS_VMROOT) File "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", line 355, in Mkdir complete(path, lambda t: t.mkdir(*args)) File "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", line 361, in complete t = xstransact(path) File "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__self.transaction = xshandle().transaction_start() File "usr/lib/python2.5/site-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() Error: (111, ''Connection refused'') [2010-07-01 19:55:29 3118] INFO (SrvDaemon:220) Xend exited with status 1. ------------------------------------------------------------------------------------------------------------------------------------------------ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tegger
2010-Jul-01 21:38 UTC
Re: [Xen-users] Error: Unable to connect to xend: No such file or directory. Is xend running?
There seems to a be an error in Jeremy branch, how can i get an older git version ? Am 01.07.2010 20:04, schrieb Tegger:> > > Hi, > > today i tried an fresh xen 4.0.0 install. > > its an minimal debian lenny installation with > > aptitude install bcc bin86 bison binutils build-essential \ > cpp flex g++ gawk gcc git-core gnupg grub iasl initramfs-tools \ > zlib1g-dev python-dev bridge-utils udev xorg-dev libncurses5-dev \ > m4 mercurial lvm2 python gettext uuid-dev libssl-dev texinfo > > then normal > > make world > make install > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > there seems to be no error except the missing latex package. > > but after reboot with xen 2.6.31.13 Kernel, i can''t use xm. > > ----------------------------------------------------------------------------------------- > > DOM0:~# xm list > Error: Unable to connect to xend: No such file or directory. Is xend > running? > ----------------------------------------------------------------------------------------- > > > ----------------------------------------------------------------------------------------- > > [2010-07-01 19:55:27 3119] INFO (SrvDaemon:332) Xend Daemon started > [2010-07-01 19:55:27 3119] INFO (SrvDaemon:336) Xend changeset: > unavailable. > [2010-07-01 19:55:29 3119] ERROR (SrvDaemon:349) Exception starting > xend ((111, ''Connection refused'')) > Traceback (most recent call last): > File "usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", > line 341, in run servers = SrvServer.create() > File "usr/lib/python2.5/site-packages/xen/xend/server/SrvServer.py", > line 251, in create root.putChild(''xend'', SrvRoot()) > File "usr/lib/python2.5/site-packages/xen/xend/server/SrvRoot.py", > line 40, in __init__self.get(name) > File "usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 84, > in get val = val.getobj() > File "usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 52, > in getobj self.obj = klassobj() > File "usr/lib/python2.5/site-packages/xen/xend/server/SrvNode.py", > line 30, in __init__self.xn = XendNode.instance() > File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 1141, in instanceinst.save() > File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 578, in saveself.save_networks() > File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 594, in save_networks for network_uuid in XendNetwork.get_all()]) > File "usr/lib/python2.5/site-packages/xen/xend/XendBase.py", line > 102, in get_record for key in keys]) > File "usr/lib/python2.5/site-packages/xen/xend/XendNetwork.py", line > 196, in get_VIFs vms = XendDomain.instance().get_all_vms() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line > 1882, in instance inst.init() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line > 114, in init xstransact.Mkdir(XS_VMROOT) > File > "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 355, in Mkdir complete(path, lambda t: t.mkdir(*args)) > File > "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 361, in complete t = xstransact(path) > File > "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 29, in __init__self.transaction = xshandle().transaction_start() > File "usr/lib/python2.5/site-packages/xen/xend/xenstore/xsutil.py", > line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() > Error: (111, ''Connection refused'') > [2010-07-01 19:55:29 3118] INFO (SrvDaemon:220) Xend exited with > status 1. > ------------------------------------------------------------------------------------------------------------------------------------------------ > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Net Warrior
2010-Jul-01 22:12 UTC
Re: [Xen-users] Error: Unable to connect to xend: No such file or directory. Is xend running?
On 07/01/10 18:38, Tegger wrote:> There seems to a be an error in Jeremy branch, how can i get an older > git version ? > > > > Am 01.07.2010 20:04, schrieb Tegger: >> >> >> Hi, >> >> today i tried an fresh xen 4.0.0 install. >> >> its an minimal debian lenny installation with >> >> aptitude install bcc bin86 bison binutils build-essential \ >> cpp flex g++ gawk gcc git-core gnupg grub iasl initramfs-tools \ >> zlib1g-dev python-dev bridge-utils udev xorg-dev libncurses5-dev \ >> m4 mercurial lvm2 python gettext uuid-dev libssl-dev texinfo >> >> then normal >> >> make world >> make install >> >> update-rc.d xend defaults 20 21 >> update-rc.d xendomains defaults 21 20 >> >> there seems to be no error except the missing latex package. >> >> but after reboot with xen 2.6.31.13 Kernel, i can''t use xm. >> >> ----------------------------------------------------------------------------------------- >> >> DOM0:~# xm list >> Error: Unable to connect to xend: No such file or directory. Is xend >> running? >> ----------------------------------------------------------------------------------------- >> >> >> ----------------------------------------------------------------------------------------- >> >> [2010-07-01 19:55:27 3119] INFO (SrvDaemon:332) Xend Daemon started >> [2010-07-01 19:55:27 3119] INFO (SrvDaemon:336) Xend changeset: >> unavailable. >> [2010-07-01 19:55:29 3119] ERROR (SrvDaemon:349) Exception starting >> xend ((111, ''Connection refused'')) >> Traceback (most recent call last): >> File >> "usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", line >> 341, in run servers = SrvServer.create() >> File >> "usr/lib/python2.5/site-packages/xen/xend/server/SrvServer.py", line >> 251, in create root.putChild(''xend'', SrvRoot()) >> File "usr/lib/python2.5/site-packages/xen/xend/server/SrvRoot.py", >> line 40, in __init__self.get(name) >> File "usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 84, >> in get val = val.getobj() >> File "usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 52, >> in getobj self.obj = klassobj() >> File "usr/lib/python2.5/site-packages/xen/xend/server/SrvNode.py", >> line 30, in __init__self.xn = XendNode.instance() >> File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line >> 1141, in instanceinst.save() >> File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line >> 578, in saveself.save_networks() >> File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line >> 594, in save_networks for network_uuid in XendNetwork.get_all()]) >> File "usr/lib/python2.5/site-packages/xen/xend/XendBase.py", line >> 102, in get_record for key in keys]) >> File "usr/lib/python2.5/site-packages/xen/xend/XendNetwork.py", >> line 196, in get_VIFs vms = XendDomain.instance().get_all_vms() >> File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line >> 1882, in instance inst.init() >> File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line >> 114, in init xstransact.Mkdir(XS_VMROOT) >> File >> "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", >> line 355, in Mkdir complete(path, lambda t: t.mkdir(*args)) >> File >> "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", >> line 361, in complete t = xstransact(path) >> File >> "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", >> line 29, in __init__self.transaction = xshandle().transaction_start() >> File "usr/lib/python2.5/site-packages/xen/xend/xenstore/xsutil.py", >> line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() >> Error: (111, ''Connection refused'') >> [2010-07-01 19:55:29 3118] INFO (SrvDaemon:220) Xend exited with >> status 1. >> ------------------------------------------------------------------------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersHi I had the same problem and resolved it with the following. git revert 376d908f52427591cef4acd172db9c3ef28676ec git revert 9d85e25edbcb8a684db8470119077475ac4d90b5 Then I made a make dist to preserve my kernel configuration , make install-kernel , make install-xen Do no use make world cuz will delete everything and download the source again. Hope this helps Best Regards _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jorge Armando Medina
2010-Jul-02 15:43 UTC
Re: [Xen-users] Error: Unable to connect to xend: No such file or directory. Is xend running?
Tegger wrote:> > > Hi, > > today i tried an fresh xen 4.0.0 install. > > its an minimal debian lenny installation withHere Ubuntu 10.04 Server amd64> > aptitude install bcc bin86 bison binutils build-essential \ > cpp flex g++ gawk gcc git-core gnupg grub iasl initramfs-tools \ > zlib1g-dev python-dev bridge-utils udev xorg-dev libncurses5-dev \ > m4 mercurial lvm2 python gettext uuid-dev libssl-dev texinfo > > then normal > > make world > make install > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > there seems to be no error except the missing latex package. > > but after reboot with xen 2.6.31.13 Kernel, i can''t use xm. > > ----------------------------------------------------------------------------------------- > > DOM0:~# xm list > Error: Unable to connect to xend: No such file or directory. Is xend > running?Same problem here and same errors in xend.log and xend-debug.log, I few weeks ago I did the same setup and everything worked, even using same .config I used last time.> ----------------------------------------------------------------------------------------- > > > ----------------------------------------------------------------------------------------- > > [2010-07-01 19:55:27 3119] INFO (SrvDaemon:332) Xend Daemon started > [2010-07-01 19:55:27 3119] INFO (SrvDaemon:336) Xend changeset: > unavailable. > [2010-07-01 19:55:29 3119] ERROR (SrvDaemon:349) Exception starting > xend ((111, ''Connection refused'')) > Traceback (most recent call last): > File "usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", > line 341, in run servers = SrvServer.create() > File "usr/lib/python2.5/site-packages/xen/xend/server/SrvServer.py", > line 251, in create root.putChild(''xend'', SrvRoot()) > File "usr/lib/python2.5/site-packages/xen/xend/server/SrvRoot.py", > line 40, in __init__self.get(name) > File "usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 84, > in get val = val.getobj() > File "usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 52, > in getobj self.obj = klassobj() > File "usr/lib/python2.5/site-packages/xen/xend/server/SrvNode.py", > line 30, in __init__self.xn = XendNode.instance() > File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 1141, in instanceinst.save() > File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 578, in saveself.save_networks() > File "usr/lib/python2.5/site-packages/xen/xend/XendNode.py", line > 594, in save_networks for network_uuid in XendNetwork.get_all()]) > File "usr/lib/python2.5/site-packages/xen/xend/XendBase.py", line > 102, in get_record for key in keys]) > File "usr/lib/python2.5/site-packages/xen/xend/XendNetwork.py", line > 196, in get_VIFs vms = XendDomain.instance().get_all_vms() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line > 1882, in instance inst.init() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line > 114, in init xstransact.Mkdir(XS_VMROOT) > File > "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 355, in Mkdir complete(path, lambda t: t.mkdir(*args)) > File > "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 361, in complete t = xstransact(path) > File > "usr/lib/python2.5/site-packages/xen/xend/xenstore/xstransact.py", > line 29, in __init__self.transaction = xshandle().transaction_start() > File "usr/lib/python2.5/site-packages/xen/xend/xenstore/xsutil.py", > line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() > Error: (111, ''Connection refused'') > [2010-07-01 19:55:29 3118] INFO (SrvDaemon:220) Xend exited with > status 1. > ------------------------------------------------------------------------------------------------------------------------------------------------ > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Jorge Armando Medina Computación Gráfica de México Web: http://www.e-compugraf.com Tel: 55 51 40 72, Ext: 124 Email: jmedina@e-compugraf.com GPG Key: 1024D/28E40632 2007-07-26 GPG Fingerprint: 59E2 0C7C F128 B550 B3A6 D3AF C574 8422 28E4 0632 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tegger
2010-Jul-02 17:23 UTC
Re: [Xen-users] Error: Unable to connect to xend: No such file or directory. Is xend running?
yeah, this works for the rest cd xen-4.0.0/build-linux-2.6-pvops_x86_64/source git-revert 376d908f52427591cef4acd172db9c3ef28676ec git-revert 9d85e25edbcb8a684db8470119077475ac4d90b5 cd .. cd .. make kernels make install-kernels reboot> Hi > > I had the same problem and resolved it with the following. > > git revert 376d908f52427591cef4acd172db9c3ef28676ec > git revert 9d85e25edbcb8a684db8470119077475ac4d90b5 > > Then I made a make dist to preserve my kernel configuration , make > install-kernel , make install-xen > Do no use make world cuz will delete everything and download the source > again. > > Hope this helps > Best Regards > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users