All of lore.kernel.org
 help / color / mirror / Atom feed
* openldap needs /lib/tls
@ 2005-02-10  7:21 robert
  2005-02-11  2:30 ` Christian Limpach
  0 siblings, 1 reply; 6+ messages in thread
From: robert @ 2005-02-10  7:21 UTC (permalink / raw)
  To: xen-devel

Hi,

I'm having problems getting openldap to work below is an line from:

 strace service ldap start

open("/lib/tls/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)

Has anybody solved this one I would sure like to know.

-robert



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: openldap needs /lib/tls
@ 2005-02-11  2:00 Ian Pratt
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Pratt @ 2005-02-11  2:00 UTC (permalink / raw)
  To: robert, xen-devel; +Cc: ian.pratt

> I'm having problems getting openldap to work below is an line from:
> 
>  strace service ldap start
> 
> open("/lib/tls/libc.so.6", O_RDONLY)    = -1 ENOENT (No such 
> file or directory)
> 
> Has anybody solved this one I would sure like to know.

We have a "Xen friendly" NPTL libc almost ready for release. For the
moment, you could try leaving the current tls library in place and use
the LD_ASSUME_KERNEL= trick to cause most binaries not to use it, execpt
openldap.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: openldap needs /lib/tls
  2005-02-10  7:21 openldap needs /lib/tls robert
@ 2005-02-11  2:30 ` Christian Limpach
  2005-02-11 10:06   ` Luciano Miguel Ferreira Rocha
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Limpach @ 2005-02-11  2:30 UTC (permalink / raw)
  To: robert; +Cc: xen-devel

On Thu, 10 Feb 2005 07:21:36 +0000 (UTC), robert <robert@hodman.net> wrote:
> I'm having problems getting openldap to work below is an line from:
> 
> strace service ldap start
> 
> open("/lib/tls/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
> 
> Has anybody solved this one I would sure like to know.

Are you sure this is causing the failure?  This seems pretty normal if
you have moved /lib/tls out of the way and not updated the ld cache
(by running ldconfig).  The next line in your strace file should show
that it falls back to /lib/libc.so.6 like this:
open("/lib/tls/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory) 
open("/lib/libc.so.6", O_RDONLY)        = 3  

It's possible that openldap doesn't work without /lib/tls, but the
error above is non-fatal and failure will occur later, if at all.  It
certainly starts up for me with /lib/tls moved out of the way and I
can do slapcat.

What distribution are you using?

     christian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: openldap needs /lib/tls
  2005-02-11  2:30 ` Christian Limpach
@ 2005-02-11 10:06   ` Luciano Miguel Ferreira Rocha
  2005-02-11 17:57     ` Christian Limpach
  0 siblings, 1 reply; 6+ messages in thread
From: Luciano Miguel Ferreira Rocha @ 2005-02-11 10:06 UTC (permalink / raw)
  To: xen-devel

On Fri, Feb 11, 2005 at 02:30:02AM +0000, Christian Limpach wrote:
> On Thu, 10 Feb 2005 07:21:36 +0000 (UTC), robert <robert@hodman.net> wrote:
> > I'm having problems getting openldap to work below is an line from:
> > 
> > strace service ldap start
> > 
> > open("/lib/tls/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
> > 
> > Has anybody solved this one I would sure like to know.
> 
> Are you sure this is causing the failure?  This seems pretty normal if
> you have moved /lib/tls out of the way and not updated the ld cache
> (by running ldconfig).  The next line in your strace file should show
> that it falls back to /lib/libc.so.6 like this:
> open("/lib/tls/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory) 
> open("/lib/libc.so.6", O_RDONLY)        = 3  
> 
> It's possible that openldap doesn't work without /lib/tls, but the
> error above is non-fatal and failure will occur later, if at all.  It
> certainly starts up for me with /lib/tls moved out of the way and I
> can do slapcat.

FC3 OpenLDAP doesn't work with either bdb or ldbm. I had to compile from
source to use gdbm.

Some problem with futex, I think.

Regards,
Luciano Rocha


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: openldap needs /lib/tls
@ 2005-02-11 10:09 Neugebauer, Rolf
  0 siblings, 0 replies; 6+ messages in thread
From: Neugebauer, Rolf @ 2005-02-11 10:09 UTC (permalink / raw)
  To: robert, xen-devel

I use OpenLDAP for authentication (via PAM) and name lockup on a debian
sarge based xen box without problem. This is just client side, though.
Rolf

> -----Original Message-----
> From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-
> admin@lists.sourceforge.net] On Behalf Of robert
> Sent: 10 February 2005 07:22
> To: xen-devel@lists.sourceforge.net
> Subject: [Xen-devel] openldap needs /lib/tls
> 
> Hi,
> 
> I'm having problems getting openldap to work below is an line from:
> 
>  strace service ldap start
> 
> open("/lib/tls/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> 
> Has anybody solved this one I would sure like to know.
> 
> -robert
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: openldap needs /lib/tls
  2005-02-11 10:06   ` Luciano Miguel Ferreira Rocha
@ 2005-02-11 17:57     ` Christian Limpach
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Limpach @ 2005-02-11 17:57 UTC (permalink / raw)
  To: Luciano Miguel Ferreira Rocha, xen-devel

On Fri, 11 Feb 2005 10:06:28 +0000, Luciano Miguel Ferreira Rocha
<strange@nsk.no-ip.org> wrote:
> FC3 OpenLDAP doesn't work with either bdb or ldbm. I had to compile from
> source to use gdbm.
> 
> Some problem with futex, I think.

Oh yes, I've seen that on a different system where some of the
backends wouldn't work because of bugs in the pthreads library.
If you don't want to recompile from source, it should work (with some
performance degradation) by moving /lib/tls back.

     christian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-02-11 17:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10  7:21 openldap needs /lib/tls robert
2005-02-11  2:30 ` Christian Limpach
2005-02-11 10:06   ` Luciano Miguel Ferreira Rocha
2005-02-11 17:57     ` Christian Limpach
  -- strict thread matches above, loose matches on Subject: below --
2005-02-11  2:00 Ian Pratt
2005-02-11 10:09 Neugebauer, Rolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.