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
> 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_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Luciano Miguel Ferreira Rocha
2005-Feb-11 10:06 UTC
Re: [Xen-devel] openldap needs /lib/tls
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 realusers.> 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_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel