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] Xen installation : Python C API mismatch

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen installation : Python C API mismatch
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 17 Jul 2008 20:02:11 +0100
Cc: Antoine Benkemoun <antoine@xxxxxxxxxxxxx>
Delivery-date: Thu, 17 Jul 2008 12:02:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fc1cbedb0807170903s1f539b8aj32017e643bbd2853@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fc1cbedb0807170903s1f539b8aj32017e643bbd2853@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
These errors typically happen when the Xen code was built against a different 
version of Python to the one that's available at runtime.  I've actually 
found these are often harmless but that's probably not an appropriate risk to 
take for a production machine.

Where exactly did you get your install source for Xen from?  Could you just 
build Xen yourself rather than using a pre-compiled version?

Cheers,
Mark

On Thursday 17 July 2008, Antoine Benkemoun wrote:
> Hello,
>
> I am trying to install Xen 3.1.0 on a Debian Sid. I have been able to do
> this type of installation correctly with it working perfectly before but I
> have to admit I can't get this one to work.
>
> Here are the error messages that I get at Xen startup :
>
> orangene1-hyp:~# /etc/init.d/xend start
> /usr/lib/python/xen/xend/server/SrvDaemon.py:20: RuntimeWarning: Python C
> API version mismatch for module xen.lowlevel.xc: This Python has API
> version 1013, module xen.lowlevel.xc has version 1012.
>   import xen.lowlevel.xc
> /usr/lib/python/xen/util/security.py:25: RuntimeWarning: Python C API
> version mismatch for module acm: This Python has API version 1013, module
> acm has version 1012.
>   from xen.lowlevel import acm
> /usr/lib/python/xen/xend/xenstore/xsutil.py:8: RuntimeWarning: Python C API
> version mismatch for module xen.lowlevel.xs: This Python has API version
> 1013, module xen.lowlevel.xs has version 1012.
>   import xen.lowlevel.xs
> /usr/lib/python/xen/xend/XendBootloader.py:25: RuntimeWarning: Python C API
> version mismatch for module ptsname: This Python has API version 1013,
> module ptsname has version 1012.
>   from xen.lowlevel import ptsname
> /usr/lib/python/xen/xend/server/SrvDaemon.py:20: RuntimeWarning: Python C
> API version mismatch for module xen.lowlevel.xc: This Python has API
> version 1013, module xen.lowlevel.xc has version 1012.
>   import xen.lowlevel.xc
> /usr/lib/python/xen/util/security.py:25: RuntimeWarning: Python C API
> version mismatch for module acm: This Python has API version 1013, module
> acm has version 1012.
>   from xen.lowlevel import acm
> /usr/lib/python/xen/xend/xenstore/xsutil.py:8: RuntimeWarning: Python C API
> version mismatch for module xen.lowlevel.xs: This Python has API version
> 1013, module xen.lowlevel.xs has version 1012.
>   import xen.lowlevel.xs
> /usr/lib/python/xen/xend/XendBootloader.py:25: RuntimeWarning: Python C API
> version mismatch for module ptsname: This Python has API version 1013,
> module ptsname has version 1012.
>   from xen.lowlevel import ptsname
>
> I have tried to install python from Sid and Lenny versions but none seem to
> change any of this... I have no Python knowledge at all so I would like to
> know if anybody would happen to have an idea concerning this problem.
>
> I will be happy to give you more info if there is something missing in this
> post.
>
> Thank you in advance for your help,
>
> Antoine Benkemoun



-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

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