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

(ITS#6853) slapadd/slapindex -q hang

Full_Name: David Hawes
Version: 2.4.24
OS: Ubuntu 10.04
Submission from: (NULL) (

When using slapadd or slapindex with the -q option, the message "Closing DB..."
is printed and then the application hangs indefinitely.  Removing the -q option
allows the application to complete without issue.

This occurs with Berkeley DB 4.7.25 (with patches) and 5.1.25.


include /usr/local/openldap-2.4.24/etc/openldap/schema/core.schema

pidfile  /usr/local/openldap-2.4.24/var/run/slapd.pid
argsfile /usr/local/openldap-2.4.24/var/run/slapd.args

database  bdb
suffix    "dc=test,dc=com"
rootdn    "cn=Manager,dc=test,dc=com"
directory /usr/local/openldap-2.4.24/var/openldap-data
dbconfig set_lg_dir /usr/local/openldap-2.4.24/var/openldap-data/bdb-logs
dbconfig set_lg_max 104857600
dbconfig set_lg_bsize 26214400
dbconfig set_cachesize 4 0 1
dbconfig set_flags DB_LOG_AUTOREMOVE


dn: dc=test,dc=com
objectClass: dcObject
objectClass: organization
o: testorg
dc: test