Hi, I tried the latest unstable code (c/s 19981:bc3aca17cb88), and xend fails to start with the below error. I am using Ubuntu 9.04, python 2.6.2. It seems that this version of Python has a problem with Xend? How can I fix that? Thanks, J # /etc/init.d/xend start Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christoph Egger
2009-Jul-23 16:14 UTC
Re: [Xen-devel] Fail to start Xend with -unstable code
Several reasons for the failure: a) your xen-tools are not properly installed b) you have to set PYTHONPATH environment variable. c) your new installation conflicts with a prior older installation Christoph On Thursday 23 July 2009 17:50:23 Jun Koi wrote:> Hi, > > I tried the latest unstable code (c/s 19981:bc3aca17cb88), and xend > fails to start with the below error. > > I am using Ubuntu 9.04, python 2.6.2. It seems that this version of > Python has a problem with Xend? How can I fix that? > > Thanks, > J > > # /etc/init.d/xend start > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Jul-24 07:54 UTC
Re: [Xen-devel] Fail to start Xend with -unstable code
Have you made any changes to Config.mk before build Xen-unstable on Ubuntu 9.04 ? Boris. --- On Thu, 7/23/09, Christoph Egger <Christoph.Egger@amd.com> wrote: From: Christoph Egger <Christoph.Egger@amd.com> Subject: Re: [Xen-devel] Fail to start Xend with -unstable code To: xen-devel@lists.xensource.com Cc: "Jun Koi" <junkoi2004@gmail.com> Date: Thursday, July 23, 2009, 12:14 PM Several reasons for the failure: a) your xen-tools are not properly installed b) you have to set PYTHONPATH environment variable. c) your new installation conflicts with a prior older installation Christoph On Thursday 23 July 2009 17:50:23 Jun Koi wrote:> Hi, > > I tried the latest unstable code (c/s 19981:bc3aca17cb88), and xend > fails to start with the below error. > > I am using Ubuntu 9.04, python 2.6.2. It seems that this version of > Python has a problem with Xend? How can I fix that? > > Thanks, > J > > # /etc/init.d/xend start > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > .Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Jul-24 08:14 UTC
Re: [Xen-devel] Fail to start Xend with -unstable code
# cd /usr/src # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg # cd xen-3.4-testing.hg Set in Config.mk PYTHON = python PYTHON_PREFIX_ARG Tuning Config.mk results Xen packages to be placed into /usr/local/lib/python2.6/dist-packages due to Changeset 19594 in xen-3.4-testing.hg. Otherwise, Xen packages would go to /usr/lib/python2.6/site-packages, which is not default location for python 2.6 on Ubuntu 9.04 ( vs F11 ). Thus you won’t be able to start xend in Dom0. Same thing happens when building Xen Unstable on Ubuntu 9.04 Server. Boris --- On Thu, 7/23/09, Jun Koi <junkoi2004@gmail.com> wrote: From: Jun Koi <junkoi2004@gmail.com> Subject: [Xen-devel] Fail to start Xend with -unstable code To: xen-devel@lists.xensource.com Date: Thursday, July 23, 2009, 11:50 AM Hi, I tried the latest unstable code (c/s 19981:bc3aca17cb88), and xend fails to start with the below error. I am using Ubuntu 9.04, python 2.6.2. It seems that this version of Python has a problem with Xend? How can I fix that? Thanks, J # /etc/init.d/xend start Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server .Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, Jul 24, 2009 at 5:14 PM, Boris Derzhavets<bderzhavets@yahoo.com> wrote:> # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg > # cd xen-3.4-testing.hg > Set in Config.mk > PYTHON = python > PYTHON_PREFIX_ARGIn that case, you dont (and should not) need to modify Config.mk. Instead, you can install tools with command: make install-tools PYTHON_PREFIX_ARG I tried that, and that is a bit better now. However, there is another problem, which I will report in another mail. Thanks, J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel