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

Segmentation Fault in OpenLDAP-2.1.22



Dear List-Members,

on my SuSE 7.3 (Kernel2.4.16, glibc-2.2.4-78, gcc2.95.3) AthlonXP-System I
always got errors if I tried to do anything to my OpenLDAP 2.0.12-44-Server,
e.g. a ldapadd causes a Segmentation Fault as shown in (1) by sldapd -d99.
Due to the entries in /var/log/localmessages (2) I tried to stop any IPv6
services - nothing changed. Because I read about an error using SASL in
older Versions of OpenLDAP I compiled the newest 2.1.22. Now I get an
Segmentation Fault even if I just start it (3).
Any suggestions to solve this problem?
Best wishes, thanks in advance

jan

(1)
slapd startup: initiated.
slapd starting
ldap_pvt_gethostbyname_a: host=hauptserver, r=0
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ldap_read: want=8, got=8
  0000:  30 3e 02 01 01 63 39 04                            0>...c9.
ldap_read: want=56, got=56
  0000:  00 0a 01 00 0a 01 00 02  01 00 02 01 00 01 01 00   ................
  0010:  87 0b 6f 62 6a 65 63 74  63 6c 61 73 73 30 19 04   ..objectclass0..
  0020:  17 73 75 70 70 6f 72 74  65 64 53 41 53 4c 4d 65   .supportedSASLMe
  0030:  63 68 61 6e 69 73 6d 73                            chanisms
ber_get_next: tag 0x30 len 62 contents:
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
Segmentation fault

(2)
Jul 23 21:21:23 hauptserver slapd[15242]: slapd starting
Jul 23 21:22:47 hauptserver slapd[15244]: daemon: conn=0 fd=9 connection
from IP=127.0.0.1:37231 (IP=0.0.0.0:34049) accepted.
--- the segfault happened, restarting slapd ---
Jul 23 21:58:15 hauptserver slapd[15545]: daemon: socket() failed errno=97
(Address family not supported by protocol)
Jul 23 21:58:15 hauptserver slapd[15547]: slapd starting

(3)
~ # /usr/lib/openldap/slapd -d99 -h ldap://localhost
@(#) $OpenLDAP: slapd 2.1.22 (Jul 23 2003 23:10:33) $
        root@hauptserver:/usr/src/openldap-2.1.22/servers/slapd
daemon_init: listen on ldap://localhost
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://localhost)
daemon: initialized ldap://localhost
daemon_init: 1 listeners opened
slapd init: initiated server.
Segmentation fault