Discussion:
2.4.21 and 2.4.22 exit on signal 6
Massimo Lusetti
2010-05-12 08:44:57 UTC
Permalink
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
--
Massimo Lusetti
Massimo Lusetti
2010-05-13 14:34:11 UTC
Permalink
On Wed, 12 May 2010 10:44:57 +0200
Post by Massimo Lusetti
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
Post by Massimo Lusetti
slap_listener(ldap:///)
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
--
Massimo Lusetti
m***@aero.polimi.it
2010-05-14 22:34:35 UTC
Permalink
Post by Massimo Lusetti
On Wed, 12 May 2010 10:44:57 +0200
Post by Massimo Lusetti
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
Post by Massimo Lusetti
slap_listener(ldap:///)
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.
Quanah Gibson-Mount
2010-05-14 22:47:21 UTC
Permalink
Post by Massimo Lusetti
On Wed, 12 May 2010 10:44:57 +0200
Post by Massimo Lusetti
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
Post by Massimo Lusetti
slap_listener(ldap:///)
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
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
Continue reading on narkive:
Loading...