From: Michael S. <mi...@st...> - 2008-04-26 09:13:53
|
Ron Teitelbaum wrote: > > I know you mentioned that I should send you more info if I get an exception. > > I got a SERVER_DOWN and then retried the call manually and blew up python2.4 > > This is CentOS 5, python2.4.4, python-ldap 2.3.4 > [..] > python2.4: io.c:234: ber_flush2: Assertion `( (sb)->sb_opts.lbo_valid == 0x3 > )' failed. > Aborted Hmm, this is a debug message of OpenLDAP's libldap. Never saw this. Which version of OpenLDAP is installed there? CentOS is based on Fedora? Red Hat / Fedora is far behind with its OpenLDAP version. Any chance for a library mix with another libldap? Could you please check which libldap is dynamically linked? Use ldd for that. On my system where OpenLDAP is separately compiled and installed to prefix /opt/openldap-2.3: # ldd /usr/lib/python/site-packages/_ldap.so linux-gate.so.1 => (0xffffe000) libldap_r-2.3.so.0 => /opt/openldap-2.3/lib/libldap_r-2.3.so.0 (0xb7ecf000) liblber-2.3.so.0 => /opt/openldap-2.3/lib/liblber-2.3.so.0 (0xb7ec1000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7e92000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7e4f000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7d08000) libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7be7000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7bd0000) libc.so.6 => /lib/libc.so.6 (0xb7a9d000) libresolv.so.2 => /lib/libresolv.so.2 (0xb7a8a000) libdl.so.2 => /lib/libdl.so.2 (0xb7a86000) libz.so.1 => /lib/libz.so.1 (0xb7a72000) libutil.so.1 => /lib/libutil.so.1 (0xb7a6e000) libm.so.6 => /lib/libm.so.6 (0xb7a49000) /lib/ld-linux.so.2 (0x80000000) > I thought I'd send it to you incase it gives you any clues about SERVER_DOWN > which has been a royal pain! It shouldn't be a problem. It works for me very often. I believe it's an issue with your local installation. > I actually was able to reproduce this error twice. 3rd time worked. Strange. Ciao, Michael. |