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] No module named xend.server error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] No module named xend.server error
From: Simon <greminn@xxxxxxxxx>
Date: Tue, 6 Dec 2005 13:08:35 +1300
Delivery-date: Tue, 06 Dec 2005 00:08:59 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cJQqSenSeK/dGOE6BJvvtAxXnojdKoaGYuGqP7/qeReD0swMpf85PYnhqRPToFc98EelFRGchH6XxGd9raxQXVIFhFK+iof1M07kg3dpVB8DMA+xJRNhHL99JifG3ATx7N60nZ+G3EmKeoLJoHYenykK3ZPAu49tNIzSRVaTa9E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D409B6E@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D409B6E@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 12/6/05, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx> wrote:

> > xls0:/var/log# /etc/init.d/xend start
> > Traceback (most recent call last):
> >   File "/usr/sbin/xend", line 33, in ?
> >     from xen.xend.server import SrvDaemon
> > ImportError: No module named xend.server
>
> The scripts should have installed the python modules in
> /usr/lib/python/xen/ where most python installs will find them. Please
> can you check they installed OK.

in /usr/lib/python/xen/

drwxrwxr-x  8 94 141 1024 2005-12-05 09:24 .
drwxrwxr-x  4 94 141 1024 2005-12-05 09:24 ..
-rw-rw-r--  1 94 141    2 2005-12-05 09:19 __init__.py
-rw-rw-r--  1 94 141  202 2005-12-05 09:24 __init__.pyc
drwxrwxr-x  2 94 141 1024 2005-12-05 09:24 lowlevel
drwxrwxr-x  2 94 141 1024 2005-12-05 09:24 sv
drwxrwxr-x  2 94 141 1024 2005-12-05 09:24 util
drwxrwxr-x  2 94 141 1024 2005-12-05 09:24 web
drwxrwxr-x  5 94 141 1024 2005-12-05 09:24 xend
drwxrwxr-x  3 94 141 1024 2005-12-05 09:24 xm

>
> You could try moving them to /usr/lib/pythonX.Y/site-packages/xen/
> (where X.Y should match your python version).

i have a /usr/lib/python, /usr/lib/python2.2 and /usr/lib/python2.3/
site-packages/xen/ is in 2.3, but not 2.2

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