[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapd: 2.0.22 works, 2.0.23 doesn't



Greetings,

Called me stumped, I simply cannot figure this out.  After upgrading
from 2.0.22 to 2.0.23, I saw slapd stopped returning data for any
query.

So I recompiled and reinstalled 2.0.22 to verify it's working.  It is.
On the same server using the same configure script, I recompiled
2.0.23 and reinstalled it, installed the same schemas and the same
config files, and verified it doesn't work.  ldapsearch returns
nothing, not even an error.  Since 2.0.23's ldapsearch returns data
when 2.0.22's slapd is running, the problem seems to point to slapd.

I ran both versions of slapd from truss: 2.0.22 continues on writing
to the socket, 2.0.23 stops for some reason, don't see why.  I ran
both versions with '-d 24' and saw minor differences.  Don't know if
they're significant.

System information:

ds# uname -a
SunOS ds 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-5_10

ds# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/specs
Configured with: ../gcc-3.0.4/configure --host=sparc-sun-solaris2.8 --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --enable-libgcj
Thread model: posix
gcc version 3.0.4

ds# ldd /opt/openldap-2.0.23/libexec/slapd
	libdb-3.1.so =>	 /usr/local/lib/libdb-3.1.so
	libssl.so.0.9.6 =>	 /usr/local/ssl/lib/libssl.so.0.9.6
	libcrypto.so.0.9.6 =>	 /usr/local/ssl/lib/libcrypto.so.0.9.6
	libresolv.so.2 =>	 /usr/lib/libresolv.so.2
	libgen.so.1 =>	 /usr/lib/libgen.so.1
	libnsl.so.1 =>	 /usr/lib/libnsl.so.1
	libsocket.so.1 =>	 /usr/lib/libsocket.so.1
	librt.so.1 =>	 /usr/lib/librt.so.1
	libpthread.so.1 =>	 /usr/lib/libpthread.so.1
	libc.so.1 =>	 /usr/lib/libc.so.1
	libgcc_s.so.1 =>	 /usr/local/lib/libgcc_s.so.1
	libdl.so.1 =>	 /usr/lib/libdl.so.1
	libmp.so.2 =>	 /usr/lib/libmp.so.2
	libaio.so.1 =>	 /usr/lib/libaio.so.1
	libthread.so.1 =>	 /usr/lib/libthread.so.1
	/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1


Does anyone have any debugging suggestions from here?  Thanks.

Jack