Hello.
when i to restart the apache, slapd is segmentation fault.
on the version of openldap 2.3 is an error that
I need help that to decide this problem.
OS - FreeBSD 7.2-RELEASE-p2 amd64
apachectl -VV
Server version: Apache/2.0.63
Server built: Jul 9 2009 17:34:07
Server's Module Magic Number: 20020903:13
Server loaded: APR 0.9.17, APR-UTIL 0.9.15
Compiled using: APR 0.9.17, APR-UTIL 0.9.15
Architecture: 64-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
-D AP_TYPES_CONFIG_FILE="etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="etc/apache2/httpd.conf"
nss_ldap.conf
host 127.0.0.1
base dc=informalians,dc=org
ldap_version 3
port 389
scope sub
timelimit 10
bind_timelimit 10
bind_policy soft
nss_connect_policy oneshot
idle_timelimit 300
nss_paged_results yes
pagesize 1000
nss_base_passwd dc=informalians,dc=org?sub
nss_base_group dc=informalians,dc=org?sub
nss_base_passwd dc=informalians,dc=org?sub
nss_base_shadow dc=informalians,dc=org?sub
ssl off
nsswitch.conf
passwd: files ldap
shadow: files ldap
group: files ldap
hosts: files dns
networks: files
services: files
shells: files
protocols: files
rpc: files
passwd_compat: nis
group_compat: nis
services_compat: nis
/usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf -d 1
#########################################
...
slapd starting
slap_listener_activate(6):
>>> slap_listener(ldap:///)
connection_get(10): got connid=0
connection_read(10): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
conn=0 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 10
do_bind: v3 anonymous bind
slap_listener_activate(6):
>>> slap_listener(ldap:///)
slap_listener_activate(6):
>>> slap_listener(ldap:///)
connection_get(10): got connid=0
connection_read(10): checking for input on id=0
ber_get_next
connection_get(11): got connid=1
connection_read(11): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 167 contents:
ber_get_next
conn=0 op=1 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=informalians,dc=org>
<<< dnPrettyNormal: <dc=informalians,dc=org>, <dc=informalians,dc=org>
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
=> get_ctrls
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
=> get_ctrls: oid="1.2.840.113556.1.4.319" (noncritical)
ber_scanf fmt ({im}) ber:
<= get_ctrls: n=1 rc=0 err=""
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
conn=1 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
==> limits_get: conn=0 op=1 self="[anonymous]" this="dc=informalians,dc=org"
=> hdb_search
bdb_dn2entry("dc=informalians,dc=org")
=> hdb_dn2id("dc=informalians,dc=org")
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=1 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 11
connection_get(12): got connid=2
connection_read(12): checking for input on id=2
ber_get_next
<= hdb_dn2id: got id=0x1
do_bind: v3 anonymous bind
entry_decode: ""
<= entry_decode()
search_candidates: base="dc=informalians,dc=org" (0x00000001) scope=2
=> hdb_dn2idl("dc=informalians,dc=org")
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read: failed (-30989)
<= bdb_equality_candidates: id=0, first=0, last=0
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read 1 candidates
<= bdb_equality_candidates: id=1, first=7, last=7
bdb_search_candidates: id=1 first=7 last=7
entry_decode: ""
<= entry_decode()
=> send_search_entry: conn 0 dn="cn=GOsa
Administrators,ou=groups,dc=informalians,dc=org"
ber_flush2: 139 bytes to sd 10
slap_listener_activate(6):
>>> slap_listener(ldap:///)
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=1 p=3
send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 51 bytes to sd 10
connection_get(11): got connid=1
connection_read(11): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 167 contents:
connection_get(14): got connid=3
ber_get_next
connection_read(14): checking for input on id=3
ber_get_next
conn=1 op=1 do_search
ber_scanf fmt ({miiiib) ber:
ber_get_next: tag 0x30 len 12 contents:
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
ber_get_next
conn=3 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
conn=2 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=2 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 12
>>> dnPrettyNormal: <dc=informalians,dc=org>
<<< dnPrettyNormal: <dc=informalians,dc=org>, <dc=informalians,dc=org>
ber_scanf fmt ({mm}) ber:
do_bind: v3 anonymous bind
ber_scanf fmt ({M}}) ber:
slap_listener_activate(6):
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=3 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 14
>>> slap_listener(ldap:///)
do_bind: v3 anonymous bind
=> get_ctrls
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
=> get_ctrls: oid="1.2.840.113556.1.4.319" (noncritical)
ber_scanf fmt ({im}) ber:
<= get_ctrls: n=1 rc=0 err=""
==> limits_get: conn=1 op=1 self="[anonymous]" this="dc=informalians,dc=org"
=> hdb_search
bdb_dn2entry("dc=informalians,dc=org")
search_candidates: base="dc=informalians,dc=org" (0x00000001) scope=2
=> hdb_dn2idl("dc=informalians,dc=org")
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read: failed (-30989)
<= bdb_equality_candidates: id=0, first=0, last=0
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read 1 candidates
<= bdb_equality_candidates: id=1, first=7, last=7
bdb_search_candidates: id=1 first=7 last=7
=> send_search_entry: conn 1 dn="cn=GOsa
Administrators,ou=groups,dc=informalians,dc=org"
ber_flush2: 139 bytes to sd 11
<= send_search_entry: conn 1 exit.
send_ldap_result: conn=1 op=1 p=3
send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 51 bytes to sd 11
connection_get(15): got connid=4
connection_read(15): checking for input on id=4
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
conn=4 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=4 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 15
do_bind: v3 anonymous bind
connection_get(12): got connid=2
connection_read(12): checking for input on id=2
ber_get_next
ber_get_next: tag 0x30 len 167 contents:
ber_get_next
conn=2 op=1 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=informalians,dc=org>
<<< dnPrettyNormal: <dc=informalians,dc=org>, <dc=informalians,dc=org>
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
=> get_ctrls
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
=> get_ctrls: oid="1.2.840.113556.1.4.319" (noncritical)
ber_scanf fmt ({im}) ber:
<= get_ctrls: n=1 rc=0 err=""
==> limits_get: conn=2 op=1 self="[anonymous]" this="dc=informalians,dc=org"
=> hdb_search
bdb_dn2entry("dc=informalians,dc=org")
search_candidates: base="dc=informalians,dc=org" (0x00000001) scope=2
=> hdb_dn2idl("dc=informalians,dc=org")
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read: failed (-30989)
<= bdb_equality_candidates: id=0, first=0, last=0
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read 1 candidates
<= bdb_equality_candidates: id=1, first=7, last=7
bdb_search_candidates: id=1 first=7 last=7
=> send_search_entry: conn 2 dn="cn=GOsa
Administrators,ou=groups,dc=informalians,dc=org"
ber_flush2: 139 bytes to sd 12
<= send_search_entry: conn 2 exit.
send_ldap_result: conn=2 op=1 p=3
send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 51 bytes to sd 12
connection_get(14): got connid=3
connection_read(14): checking for input on id=3
ber_get_next
ber_get_next: tag 0x30 len 167 contents:
ber_get_next
conn=3 op=1 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=informalians,dc=org>
connection_get(10): got connid=0
connection_read(10): checking for input on id=0
ber_get_next
<<< dnPrettyNormal: <dc=informalians,dc=org>, <dc=informalians,dc=org>
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
=> get_ctrls
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
=> get_ctrls: oid="1.2.840.113556.1.4.319" (noncritical)
ber_scanf fmt ({im}) ber:
<= get_ctrls: n=1 rc=0 err=""
==> limits_get: conn=3 op=1 self="[anonymous]" this="dc=informalians,dc=org"
=> hdb_search
bdb_dn2entry("dc=informalians,dc=org")
search_candidates: base="dc=informalians,dc=org" (0x00000001) scope=2
=> hdb_dn2idl("dc=informalians,dc=org")
=> bdb_equality_candidates (objectClass)
=> key_read
connection_get(15): got connid=4
connection_read(15): checking for input on id=4
ber_get_next
ber_get_next: tag 0x30 len 167 contents:
ber_get_next
conn=4 op=1 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=informalians,dc=org>
<<< dnPrettyNormal: <dc=informalians,dc=org>, <dc=informalians,dc=org>
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
=> get_ctrls
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
=> get_ctrls: oid="1.2.840.113556.1.4.319" (noncritical)
ber_scanf fmt ({im}) ber:
<= get_ctrls: n=1 rc=0 err=""
==> limits_get: conn=4 op=1 self="[anonymous]" this="dc=informalians,dc=org"
=> hdb_search
bdb_dn2entry("dc=informalians,dc=org")
search_candidates: base="dc=informalians,dc=org" (0x00000001) scope=2
=> hdb_dn2idl("dc=informalians,dc=org")
=> bdb_equality_candidates (objectClass)
=> key_read
zsh: segmentation fault /usr/local/libexec/slapd -f
/usr/local/etc/openldap/slapd.conf -d 1
--
Best regards
Alexander Panyushkin