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
Quoted 7 lines · robert
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
Quoted 16 lines · Christian Limpach
Quoted 7 lines · robert
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/tlsout 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.6like this:open("/lib/tls/libc.so.6", O_RDONLY)= -1 ENOENT (No such file or directory)open("/lib/libc.so.6", O_RDONLY)= 3
Quoted 4 lines
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/tlsmoved 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
Quoted 4 lines · Luciano Miguel Ferreira Rocha
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