Hi list, I'm experiencing some problems with and LDAP box which used to run 2.4.21 and has been upgraded to 2.4.22
The box act as a pam_ldap/nsswitch login server for a bunch of boxes, let's say 20, and serve the mail server and web proxy server as a user base.
The box has 2G of RAM and has an average load very low, let's say top/systat shows 0.40.
The issue is that it happens from time to time every 2/4 days that the slapd daemon exits on signal 6:
May 12 01:00:00 polido kernel: pid 27153 (slapd), uid 389: exited on signal 6
Then i restart the process everything looks fine and no corruption seems to happen in the DB. The box is a FreeBSD 8
Any clue is really appreciated.
Thanks
On Wed, 12 May 2010 10:44:57 +0200 Massimo Lusetti massimo@cedoc.mo.it wrote:
Any clue is really appreciated.
Running in debug mode (-d 7) I got this output just before the crash.
ber_get_next on fd 89 failed errno=0 (Undefined error: 0) connection_close: conn=39524 sd=89 slap_listener_activate(7):
slap_listener(ldap:///)
slap_listener_activate(7):
slap_listener(ldap:///)
Assertion failed: (p[-1] == ']'), function slap_sasl_peer2ipport, file sasl.c, line 1218. Abort
As always any hint is really appreciated...
Cheers
On Wed, 12 May 2010 10:44:57 +0200 Massimo Lusetti massimo@cedoc.mo.it wrote:
Any clue is really appreciated.
Running in debug mode (-d 7) I got this output just before the crash.
ber_get_next on fd 89 failed errno=0 (Undefined error: 0) connection_close: conn=39524 sd=89 slap_listener_activate(7):
slap_listener(ldap:///)
slap_listener_activate(7):
slap_listener(ldap:///)
Assertion failed: (p[-1] == ']'), function slap_sasl_peer2ipport, file sasl.c, line 1218. Abort
As always any hint is really appreciated...
This is bad. You should file an ITS, and send a stack backtrace, possibly looking at the content of the string that caused this parsing error. See instructions here http://www.openldap.org/faq/data/cache/56.html.
p.
--On May 13, 2010 4:34:11 PM +0200 Massimo Lusetti massimo@cedoc.mo.it wrote:
On Wed, 12 May 2010 10:44:57 +0200 Massimo Lusetti massimo@cedoc.mo.it wrote:
Any clue is really appreciated.
Running in debug mode (-d 7) I got this output just before the crash.
ber_get_next on fd 89 failed errno=0 (Undefined error: 0) connection_close: conn=39524 sd=89 slap_listener_activate(7):
slap_listener(ldap:///)
slap_listener_activate(7):
slap_listener(ldap:///)
Assertion failed: (p[-1] == ']'), function slap_sasl_peer2ipport, file sasl.c, line 1218. Abort
Make sure you have debugging symbols built in for slapd and everything it links to (sasl, etc), and then run it under GDB. Once it aborts, get a gdb backtrace. Alternatively, enable core files while having all those debugging symbols available so that you can get a gdb backtrace.
--Quanah
openldap-software@openldap.org