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

Re: [Xen-users] TLS problem



Starting from 3.0.4 xen-tools uses TLS in a minor part of its code, related to 
logging.
So, if you don't have TLS support, xend breaks.

If you really don't want TLS support you may modify the affected code, it's 
not really that much to change and it only does logging.

A technically better option would be to start using a xen-friendly glibc 
instead.


Em Sáb 07 Abr 2007 05:48, kanour-xen escreveu:
>  Hi.
>  I have xen xen-3.0.4_1
>
>  If tls in not disabled I am getting the following:
>
>  ***************************************************************
>    ***************************************************************
>    ** WARNING: Currently emulating unsupported memory accesses  **
>    **          in /lib/tls glibc libraries. The emulation is    **
>    **          slow. To ensure full performance you should      **
>    **          install a 'xen-friendly' (nosegneg) version of   **
>    **          the library, or disable tls support by executing **
>    **          the following as root:                           **
>    **          mv /lib/tls /lib/tls.disabled                    **
>    ** Offending process: hotplug (pid=1220)                     **
>    ***************************************************************
>    ***************************************************************
>
>  Continuing...
>
>  If I disable TLS with "mv /lib/tls /lib/tls.disabled"
>  xend will not start and I am geting messages as follows:
>
>  [2007-04-07 16:57:34 xend 32327] WARNING (XendAuthSessions:27) python-pam
> is required for XenAPI support. [2007-04-07 16:57:34 xend 32339] INFO
> (SrvDaemon:322) Xend Daemon started [2007-04-07 16:57:34 xend 32339] INFO
> (SrvDaemon:326) Xend changeset: unavailable. [2007-04-07 16:57:34 xend
> 32339] INFO (SrvDaemon:333) Xend version: Unknown. [2007-04-07 16:57:46
> xend 32340] WARNING (XendAuthSessions:27) python-pam is required for XenAPI
> support. [2007-04-07 16:57:51 xend 32345] WARNING (XendAuthSessions:27)
> python-pam is required for XenAPI support. [2007-04-07 16:57:51 xend 32335]
> INFO (SrvDaemon:225) Xend stopped due to signal 15. [2007-04-07 16:57:51
> xend 32359] INFO (SrvDaemon:322) Xend Daemon started [2007-04-07 16:57:51
> xend 32359] INFO (SrvDaemon:326) Xend changeset: unavailable. [2007-04-07
> 16:57:51 xend 32359] INFO (SrvDaemon:333) Xend version: Unknown.
> [2007-04-07 16:58:07 xend 32360] WARNING (XendAuthSessions:27) python-pam
> is required for XenAPI support. [2007-04-07 16:58:22 xend 32359] ERROR
> (SrvDaemon:344) Exception starting xend ((98, 'Address already in use'))
> Traceback (most recent call last):
>    File "//usr/lib/python/xen/xend/server/SrvDaemon.py", line 335, in run
>      relocate.listenRelocation()
>    File "//usr/lib/python/xen/xend/server/relocate.py", line 132, in
> listenRelocation hosts_allow = hosts_allow)
>    File "//usr/lib/python/xen/web/tcp.py", line 36, in __init__
>      connection.SocketListener.__init__(self, protocol_class)
>    File "//usr/lib/python/xen/web/connection.py", line 83, in __init__
>      self.sock = self.createSocket()
>    File "//usr/lib/python/xen/web/tcp.py", line 49, in createSocket
>      sock.bind((self.interface, self.port))
>    File "<string>", line 1, in bind
>  error: (98, 'Address already in use')
>  [2007-04-07 16:58:22 xend 32358] INFO (SrvDaemon:218) Xend exited with
> status 1. [2007-04-07 16:59:17 xend 2828] DEBUG (SrvServer:75)
> SrvServer.cleanup() [2007-04-07 16:59:17 xend 2828] DEBUG (SrvServer:157)
> Waiting for ['XMLRPCServer', 'XMLRPCServer']. [2007-04-07 16:59:17 xend
> 2828] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup() [2007-04-07 16:59:18
> xend 2828] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup()
>
>  Can someone advice? I did not experience this with xen 3.0.2-2
>
>  Jiri

-- 
 Daniel Mealha Cabrita
 Divisao de Suporte Tecnico
 AINFO / Reitoria / UTFPR
 http://www.utfpr.edu.br

_______________________________________________
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®.