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] about CentOS5.4 + Xen3.4.2

To: wentao zhang <wnlo.zwt@xxxxxxxxx>
Subject: Re: [Xen-users] about CentOS5.4 + Xen3.4.2
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Fri, 16 Sep 2011 02:35:31 -0400
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Sep 2011 23:37:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=m8plQdu7gA1ct1HUy0nu0nwem7rWrqc8okGxdPHJe9s=; b=C8UhANHj1SuLz9MLRcztKqTsOPOlSx+E3EHCLq+g8bLbhzSVgiiq/30UV8Vzjlz3mZ +0EsIsU+uT34Od/hGnl6uYjarjo4i2GZyRXwqsFSJB/GsoN8H7vz0LZ11N0bhcNOZ+Zq JgH1zAD3mtPJsdMTiDhUrymVwgVe3Z6k/g5qg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAJZuLfe73kJp2QJTnjatpHbqz4Y0LRHYD9m+A2VqZOtt2vFDbw@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: <CAJZuLfe73kJp2QJTnjatpHbqz4Y0LRHYD9m+A2VqZOtt2vFDbw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Sep 16, 2011 at 12:20 AM, wentao zhang <wnlo.zwt@xxxxxxxxx> wrote:
> Hi,
> I could use  xm list
> Name                                        ID   Mem VCPUs      State
> Time(s)
> Domain-0                                     0  7868     8     r-----
> 30.1
> dom1-1                                       1   200     1     -b----
> 15.2
> but when I used xm vcpu-list
> [root@localhost ~]# xm vcpu-list
> Name                                ID  VCPU   CPU State   Time(s) CPU
> Affinity
> Unexpected error: xml.parsers.expat.ExpatError
> Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
> Traceback (most recent call last):
>   File "/usr/sbin/xm", line 7, in ?
>     main.main(sys.argv)
>   File "usr/lib64/python2.4/site-packages/xen/xm/main.py", line 2997, in
> main
>   File "usr/lib64/python2.4/site-packages/xen/xm/main.py", line 3021, in
> _run_cmd
>   File "usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1152, in
> xm_vcpu_list
>   File "usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1127, in
> format_cpumap
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>   File "usr/lib64/python2.4/site-packages/xen/util/xmlrpcclient.py", line
> 118, in __request
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>   File "usr/lib64/python2.4/site-packages/xen/util/xmlrpcclient.py", line
> 55, in request
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
>     return self._parse_response(h.getfile(), sock)
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1281, in _parse_response
>     p.feed(response)
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 527, in feed
>     self._parser.Parse(data, 0)
> xml.parsers.expat.ExpatError: not well-formed (invalid token): line 104,
> column 19
> This was all right before I recompility xen with make xen && make
> install-xen
> What should I do ?

Do you have the CentOS Xen packages installed AND Xen from source?
(python library conflict?)

If not, why are you comping Xen from source and not simply using the
CentOS packages?

if you need to compile from source and you don't have an obvious
python library confilct, you should do as the message says and "Please
report to xen-devel@xxxxxxxxxxxxxxxxxxx". Before you do so, please
read http://wiki.xensource.com/xenwiki/AskingXenDevelQuestions (and at
least clearly explain what version of Xen and you compiling and why)

Thanks,
Todd

-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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

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