WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xend startup problem (not twisted, not wrong kernel, ...

To: walkinair@xxxxxxxxxx
Subject: Re: [Xen-users] Xend startup problem (not twisted, not wrong kernel, ...)
From: Marcus Hardt <marcus.hardt@xxxxxxxxxx>
Date: Tue, 23 Aug 2005 09:50:18 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Aug 2005 07:48:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <430A8942.3070202@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Forschungszentrum Karlsruhe
References: <200508221838.09731.marcus.hardt@xxxxxxxxxx> <430A8942.3070202@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.2
Quoting Yao Fei Zhu
> Marcus Hardt wrote:
> >Hello There!
> >
> >I'm desperate. What I did to come to this point was:
> >
> >1: wget xen-2.0.7-install-x86_32.tgz   # Although I'm on an Opteron..
> >
> >2: untar it
> >cd xen-2.0-install/
> >./install.sh   # with this output:
> >Installing Xen from './install' to '/'...
> >All done.
> >Checking to see whether prerequisite tools are installed...
> >All done.
> >
> >3: Rebooting with this kernel:
> >Linux iwrcgtest3 2.6.11.12-xen0 #1 Thu Aug 4 00:45:12 BST 2005 i686
> > GNU/Linux
> >
> >4: Install all these debian packages (jist as in the faq, without latex,
> >though)
> >make gcc libc6-dev zlib1g-dev python python-dev python-twisted
> > bridge-utils iproute libcurl3 libcurl3-dev bzip2 module-init-tools
> > latex2html transfig tgif
> >
> >5: starting xend:
> >Traceback (most recent call last):
> >  File "/usr/sbin/xend", line 27, in ?
> >    from xen.xend.server import SrvDaemon
> >ImportError: No module named xend.server
> >
> >I've also used the "xen-unstable-install-x86_64.tgz" tarball, but with the
> >same effect.
> >
> >Is there help for me on this planet?
> >
> >It's appreciated!,
>
> Please find out what's your python searching path first.
> For example, in my Fedora Core 2 box,
>
> [root@richardz xen-unstable-install]# python
> Python 2.3.3 (#1, May  7 2004, 10:31:40)
> [GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>  >>> import sys
>  >>> sys.path
>
> ['', '/usr/lib/python2.3', '/usr/lib/python23.zip',
> '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',
> '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages',
> '/usr/lib/python2.3/site-packages/gtk-2.0']
>
>
> You can see my python version is 2.3.3, and the library searching path
> contains /usr/lib/python2.3.
>
> FYI, xend and xm, etc , are tools written in python, and after
> installation, the library files which is required by xend should be
> copied to the python's library searching path.
>
> Again in my box,
> Source:
> [root@richardz Xen3]# ls ./xen-unstable-install/install/usr/lib/python/xen
> __init__.py  __init__.pyc  lowlevel  sv  util  web  xend  xm
> [root@richardz Xen3]#
> Destination:
> [root@richardz Xen3]# ls /usr/lib/python2.3/site-packages/xen
> __init__.py  __init__.pyc  lowlevel  sv  util  web  xend  xm
> [root@richardz Xen3]#
>
> If the xen directory is not in the right place, you can copy it manually.
>
> If I am wrong, anyone please correct me. Thanks.

Got it!

There was /usr/lib/python2.3/site-packages/xen, which semt to be a leftover of 
a different installation. It was incomplete. Removing it, made python 
using /usr/lib/python/xen, which is complete. Thank you very much for putting 
me on the right track!


-- 
Marcus

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>