[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Yet Another SASL Version mismatch
You checked the ldd output as "jochen" and then started slapd as "root" -
clearly the environment is different betwen these two commands. Check the
LD_LIBRARY_PATH that is in root's environment.
I have refrained from answering any posts about this question in the past
because the problem and solution are so basic to Unix/Linux system
administration. If you see an error message that tells you a running program
got a version of a shared library that is different than it expected, that
means that your runtime environment got library paths that were different
from your compile-time environment. Any sysadmin ought to already know how to
figure this out, and the FAQ-o-Matic and this mailing list are already
littered with pointers to how to explicitly set your library search path.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Jochen Laser
> Hi all
>
>
> This has been mentioned several times on the list, but i found no
> solution in the archive.
>
> System is Redhat 8.0
> I compiled cyrus sasl 2.1.15 (Latest Version of cyrus-sasl )
> and installed it with prefix /opt/avci.
>
> Aditionally I linked /opt/avci/lib/sasl2 to /usr/lib (as
> suggested during sasl Installation):
>
> jochen@real:~/openldap$ ls -l /usr/lib/sasl2
> lrwxrwxrwx 1 root root 20 Sep 9 18:50
> /usr/lib/sasl2 -> /opt/avci/lib/sasl2/
>
> Then I compiled openldap and installed it with prefix /opt/avci.
> ldd on slapd shows up like this (which seemed OK for me):
>
>
> jochen@real:~/openldap$ ldd /opt/avci/libexec/slapd
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x40027000)
> libsasl2.so.2 => /opt/avci/lib/libsasl2.so.2 (0x40055000)
> libssl.so.2 => /lib/libssl.so.2 (0x40067000)
> libcrypto.so.2 => /lib/libcrypto.so.2 (0x40097000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x4016b000)
> libdl.so.2 => /lib/libdl.so.2 (0x4017d000)
> libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40180000)
> libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
>
> But on startup slapd fails with a "sasl version mismath", like that:
>
> root@real:/home/jochen$ /opt/avci/libexec/slapd -d1
> @(#) $OpenLDAP: slapd 2.1.22 (Sep 9 2003 18:15:48) $
>
> jochen@real:/home/jochen/openldap/openldap-2.1.22/servers/slapd
> daemon_init: listen on ldap:///
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap:///)
> daemon: socket() failed errno=97 (Address family not
> supported by protocol)
> daemon: initialized ldap:///
> daemon_init: 2 listeners opened
> slapd init: initiated server.
> slap_sasl_init: SASL version mismatch, got 2010007, wanted 201000f.
> slapd shutdown: freeing system resources.
> slapd stopped.
> connections_destroy: nothing to destroy.
> root@real:/home/jochen$
>
> What's wrong?
>
>
>
> Yours: Jochen
>