Hi everyone, I managed to install xen 4 on ubuntu lucid. I managed to read around what kernel configuration options are needed. The problem is that xend can''t start. If I try to run it I get errors from some python scripts. virt-viewer can''t connect to xend, also. I followed the steps in the Xen 4 wiki and the links from Boris'' blog. What should I do? These are the errors that I get: Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 36, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", line 23, in <module> from xen.xend.XendConfig import XendConfig File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendConfig.py", line 29, in <module> from xen.xend.XendDPCI import XendDPCI File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDPCI.py", line 24, in <module> import XendDomain, XendNode File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 39, in <module> from XendPIF import * File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendPIF.py", line 37, in <module> Vifctl.network(''start'') File "/usr/local/lib/python2.6/dist-packages/xen/xend/Vifctl.py", line 35, in network xpopen.call(script) File "/usr/local/lib/python2.6/dist-packages/xen/util/xpopen.py", line 183, in call return xPopen3(*popenargs, **kwargs).wait() File "/usr/local/lib/python2.6/dist-packages/xen/util/xpopen.py", line 154, in wait pid, sts = os.waitpid(self.pid, 0) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
here''s the xend.log: [2010-06-13 17:43:25 3617] INFO (SrvDaemon:332) Xend Daemon started [2010-06-13 17:43:25 3617] INFO (SrvDaemon:336) Xend changeset: unavailable. [2010-06-13 17:43:29 3617] ERROR (SrvDaemon:349) Exception starting xend ((111, ''Connection refused'')) Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", line 251, in create root.putChild(''xend'', SrvRoot()) File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 84, in get val = val.getobj() File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDomainDir.py", line 41, in __init__ self.xd = XendDomain.instance() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 1882, in instance inst.init() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 114, in init xstransact.Mkdir(XS_VMROOT) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 355, in Mkdir complete(path, lambda t: t.mkdir(*args)) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 361, in complete t = xstransact(path) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__ self.transaction = xshandle().transaction_start() File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() Error: (111, ''Connection refused'') _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The error you getting looks like attempt to run 2.6.32.15 under Xen 4.0, what is not possible. Hypervisor upgrade up to 4.0.1-rc3-pre ( at the time of writing) is a must. View , corresponding update in my blog ( via Wiki) Boris. --- On Sun, 6/13/10, PeanuTech <peanutdude@gmail.com> wrote: From: PeanuTech <peanutdude@gmail.com> Subject: [Xen-users] Can''t start xend To: xen-users@lists.xensource.com Date: Sunday, June 13, 2010, 11:04 AM Hi everyone, I managed to install xen 4 on ubuntu lucid. I managed to read around what kernel configuration options are needed. The problem is that xend can''t start. If I try to run it I get errors from some python scripts. virt-viewer can''t connect to xend, also. I followed the steps in the Xen 4 wiki and the links from Boris'' blog. What should I do? These are the errors that I get: Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 36, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", line 23, in <module> from xen.xend.XendConfig import XendConfig File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendConfig.py", line 29, in <module> from xen.xend.XendDPCI import XendDPCI File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDPCI.py", line 24, in <module> import XendDomain, XendNode File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 39, in <module> from XendPIF import * File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendPIF.py", line 37, in <module> Vifctl.network(''start'') File "/usr/local/lib/python2.6/dist-packages/xen/xend/Vifctl.py", line 35, in network xpopen.call(script) File "/usr/local/lib/python2.6/dist-packages/xen/util/xpopen.py", line 183, in call return xPopen3(*popenargs, **kwargs).wait() File "/usr/local/lib/python2.6/dist-packages/xen/util/xpopen.py", line 154, in wait pid, sts = os.waitpid(self.pid, 0) -----Inline Attachment Follows----- _______________________________________________ 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
Then something is wrong with builds --- On Sun, 6/13/10, PeanuTech <peanutdude@gmail.com> wrote: From: PeanuTech <peanutdude@gmail.com> Subject: Re: [Xen-users] Can''t start xend To: "Boris Derzhavets" <bderzhavets@yahoo.com> Date: Sunday, June 13, 2010, 1:09 PM My kernel is Linux 2.6.31.13 #3 SMP, but I''ll try the testing version anyway. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users