[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] about CentOS5.4 + Xen3.4.2



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.