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] TLS problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] TLS problem
From: Daniel Mealha Cabrita <dancab@xxxxxxxxxxxx>
Date: Sat, 7 Apr 2007 22:28:00 -0300
Delivery-date: Sat, 07 Apr 2007 18:18:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46175AE5.9020902@xxxxxxxxxx>
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>
Organization: UTFPR
References: <46175AE5.9020902@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.2
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

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