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

(ITS#5844) bdb backend hangs



Full_Name: Thomas Koeller
Version: 2.4.13
OS: Linux x86_64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.39.153.46)


I just built openldap-2.4.13. Issuing the 'make test' command after building
results in slapadd hanging:

>----------------------------------------------------------------------

bash-3.2$ make test                                                             
                                                           
cd tests; make test                                                             
                                                           
make[1]: Entering directory `/home/thomas/build/openldap-2.4.13/tests'          
                                                           
make[2]: Entering directory `/home/thomas/build/openldap-2.4.13/tests'          
                                                           
Initiating LDAP tests for BDB...                                                
                                                           
Running /home/thomas/src/openldap-2.4.13/tests/scripts/all...                   
                                                           
>>>>> Executing all LDAP tests for bdb                                          
                                                           
>>>>> Starting test000-rootdse ...                                              
                                                           
running defines.sh                                                              
                                                           
Starting slapd on TCP/IP port 9011...                                           
                                                           
Using ldapsearch to retrieve the root DSE...                                    
                                                           
Using ldapsearch to retrieve the cn=Subschema...                                
                                                           
Using ldapsearch to retrieve the cn=Monitor...                                  
                                                           
dn:                                                                             
                                                           
objectClass: top                                                                
                                                           
objectClass: OpenLDAProotDSE
structuralObjectClass: OpenLDAProotDSE
configContext: cn=config
namingContexts: o=OpenLDAP Project,l=Internet
monitorContext: cn=Monitor
supportedControl: 2.16.840.1.113730.3.4.18
supportedControl: 2.16.840.1.113730.3.4.2
supportedControl: 1.3.6.1.4.1.4203.1.10.1
supportedControl: 1.2.840.113556.1.4.319
supportedControl: 1.2.826.0.1.3344810.2.3
supportedControl: 1.3.6.1.1.13.2
supportedControl: 1.3.6.1.1.13.1
supportedControl: 1.3.6.1.1.12
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.4203.1.11.3
supportedExtension: 1.3.6.1.1.8
supportedFeatures: 1.3.6.1.1.14
supportedFeatures: 1.3.6.1.4.1.4203.1.5.1
supportedFeatures: 1.3.6.1.4.1.4203.1.5.2
supportedFeatures: 1.3.6.1.4.1.4203.1.5.3
supportedFeatures: 1.3.6.1.4.1.4203.1.5.4
supportedFeatures: 1.3.6.1.4.1.4203.1.5.5
supportedLDAPVersion: 3
supportedSASLMechanisms: CRAM-MD5
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: OTP
vendorName: The OpenLDAP Project <http://www.openldap.org/>
entryDN:
subschemaSubentry: cn=Subschema

dn: cn=Subschema
objectClass: top
objectClass: subentry
objectClass: subschema
objectClass: extensibleObject
cn: Subschema

dn: cn=Monitor
objectClass: monitorServer
cn: Monitor
description: This subtree contains monitoring/managing objects.
description: This object contains information about this server.
description: Most of the information is held in operational attributes, which
 must be explicitly requested.
monitoredInfo: OpenLDAP: slapd 2.4.13 (Dec  3 2008 01:43:49)

>>>>> Test succeeded
>>>>> /home/thomas/src/openldap-2.4.13/tests/scripts/test000-rootdse completed
OK.

>>>>> Starting test001-slapadd ...
running defines.sh
Running slapadd to build slapd database...
*** hangs here ***

>----------------------------------------------------------------------

If I ignore this problem and install anyway, I cannot use the bdb backend. If I
do,
slapd will hang upon any access. However, if I use the ldif backend, slapd
works
as expected, so I suspect the problem is in the bdb backend. These are my build
options:

bash-3.2$ ./config.status --version
config.status
configured by /home/thomas/src/openldap-2.4.13/configure, generated by GNU
Autoconf 2.59,
  with options "'--prefix=/usr' '--enable-crypt' '--enable-bdb=mod'
'--enable-hdb=mod' '--enable-ldap=mod' '--enable-monitor=mod'
'--enable-null=mod' '--enable-passwd=mod' '--enable-local'
'--enable-overlays=mod' '--with-cyrus-sasl' '--with-threads' '--enable-dynamic'
'--enable-modules' 'CC=/usr/gcc/bin/gcc' 'CFLAGS=-pipe -O3 -fomit-frame-pointer
-march=native -m64' 'CPP=/usr/gcc/bin/cpp' 'LDFLAGS=-O3
-Wl,--enable-new-dtags,--hash-style=gnu'"