Am Montag, den 17.06.2019, 15:40 -0700 schrieb Quanah Gibson-Mount:
--On Monday, June 17, 2019 7:16 PM +0200 Armin T=C3=BCting=20 Armin.Tueting@tueting-online.com wrote: =20
I.e., it started and then got as far as reading your ldap.conf file. What is the contents of ldap.conf?
Attached 'ldap.conf'. Nothing unusual... =20
Have you run the test suite (make test)? Does it pass? fail?
Attached 'make_test.txt'. As far as I can see - it has been passed.
=20 Ok, so make test passes without issue, so it would appear there's somethi=
ng=20
specific with your configuration that is triggering the problem. Would y=
ou=20
be able to provide your slapd configuration (minus any passwords and the=
=20
like)?
I'll privately send it to you in a seperate email.
=20 Additionally, if you could get a full gdb backtrace of the hung slapd=20 process that would be useful as well. I.e.: =20 start up slapd gdb /path/to/slapd <pid #>
(gdb) thr apply all bt full
Thread 1 (Thread 0x7ffa4ad71880 (LWP 9207)): #0 0x00007ffa4918c4ed in __lll_lock_wait () from /lib64/libpthread.so.0 No symbol table info available. #1 0x00007ffa49187dcb in _L_lock_883 () from /lib64/libpthread.so.0 No symbol table info available. #2 0x00007ffa49187c98 in pthread_mutex_lock () from /lib64/libpthread.so.0 No symbol table info available. #3 0x00007ffa4a92a135 in ldap_pvt_thread_mutex_lock (mutex=3D<optimized out>) at thr_posix.c:296 No locals. #4 0x00007ffa4a944e6e in ldap_set_option (ld=3Dld@entry=3D0x0,=20 option=3Doption@entry=3D20486, invalue=3Dinvalue@entry=3D0x7ffdceb7aeb4) at options.c:465 lo =3D 0x7176c0 <ldap_int_global_options> dbglvl =3D 0x0 rc =3D -1 __PRETTY_FUNCTION__ =3D "ldap_set_option" #5 0x00007ffa4a943ed3 in openldap_ldap_init_w_conf (file=3Dfile@entry=3D0x 7ffa4a95a750 "/opt/openldap/etc/openldap/ldap.conf",=20 userconf=3Duserconf@entry=3D0) at init.c:270 p =3D <optimized out> linebuf =3D "URI\000ldap://localhost/\000\000tions\n\000ware/man.cgi?query=3Dldap.con f\n\000ldapusingtlswithsshapasswords\n\000\000\377\377\000\000\177\003" , '\000' <repeats 22 times>, "\200\037\000\000\377\377", '\000' <repeats 152 times>... fp =3D 0x8177b0 i =3D <optimized out> opt =3D 0x7ffdceb7aeb4 "ldap://localhost/" start =3D 0x7ffdceb7aeb4 "ldap://localhost/" end =3D <optimized out> gopts =3D 0x7ffa4ab67120 <ldap_int_global_options> #6 0x00007ffa4a944318 in openldap_ldap_init_w_sysconf (file=3D0x7ffa4a95a750 "/opt/openldap/etc/openldap/ldap.conf") at init.c:316 No locals. #7 ldap_int_initialize (gopts=3Dgopts@entry=3D0x7176c0 <ldap_int_global_options>, dbglvl=3Ddbglvl@entry=3D0x719050 <slap_debug>) at init.c:684 No locals. #8 0x00007ffa4a944e38 in ldap_set_option (ld=3D0x0, option=3D20481, invalue=3D0x719050 <slap_debug>) at options.c:450 lo =3D <optimized out> dbglvl =3D 0x719050 <slap_debug> rc =3D -1 __PRETTY_FUNCTION__ =3D "ldap_set_option" #9 0x0000000000413cd6 in main () No symbol table info available.
at the gdb prompt: =20 thr apply all bt full =20 Thanks! =20 --Quanah =20 =20 =20 -- =20 Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com =20