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

please help with failing test001-slapadd



Hello list,

I am new to OpenLDAP and am trying to install the stable release 2.1.22 on my WinXP box, with Cygwin (including latest versions of BerkeleyDB (4.1) and OpenSSL (0.9.7c) ).

'configure', 'make depend', and 'make' seem to work fine.

'make test' results in an error on the second test:
slapadd: could not add entry dn="o=University of Michigan,c=US" (line=18): txn_b
egin failed: Invalid argument (22)
slapadd failed (1)!
>>>>> ./scripts/test001-slapadd failed (exit 1)


(full test log below)

I searched the mailing list archives and the faq-o-matic, but did not encounter a similar problem with solution.
The hint to read 'master.log' would not help as 'master.log' is not accessible when slapd is running (and it disappears as soon as slapd is killed).


Any help is greatly appreciated! If necessary I will be happy to provide more details on my setup.

Thanks,
Jurjan-Paul Medema


Full test log: C:\Dev\openldap-2.1.22>make test cd tests; make test make[1]: Entering directory `/cygdrive/c/Dev/openldap-2.1.22/tests' ln: `./data': cannot overwrite directory make[1]: [test-bdb] Error 1 (ignored) ln: `./schema': File exists make[1]: [test-bdb] Error 1 (ignored) ln: `ucdata/liblunicode': File exists make[1]: [test-bdb] Error 1 (ignored) Initiating LDAP tests for BDB... >>>>> Executing all LDAP tests... >>>>> Test Directory: . >>>>> Backend: bdb >>>>> Starting test000-rootdse ... running defines.sh Datadir is ./data Cleaning up in ./test-db... Starting slapd on TCP/IP port 9009... Using ldapsearch to retrieve the root DSE... dn: objectClass: top objectClass: OpenLDAProotDSE structuralObjectClass: OpenLDAProotDSE namingContexts: o=OpenLDAP Project,l=Internet supportedControl: 1.2.826.0.1.334810.2.3 supportedControl: 1.3.6.1.4.1.4203.1.10.1 supportedControl: 1.3.6.1.4.1.4203.1.10.2 supportedControl: 2.16.840.1.113730.3.4.2 supportedControl: 2.16.840.1.113730.3.4.18 supportedExtension: 1.3.6.1.4.1.1466.20037 supportedExtension: 1.3.6.1.4.1.4203.1.11.1 supportedExtension: 1.3.6.1.4.1.4203.1.11.3 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 vendorName: The OpenLDAP Project <http://www.openldap.org/> subschemaSubentry: cn=Subschema

>>>>> Test succeeded
>>>>> ./scripts/test000-rootdse completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test001-slapadd ...
running defines.sh
Datadir is ./data
Cleaning up in ./test-db...
Running slapadd to build slapd database...
slapadd: could not add entry dn="o=University of Michigan,c=US" (line=18): txn_b
egin failed: Invalid argument (22)
slapadd failed (1)!
>>>>> ./scripts/test001-slapadd failed (exit 1)
make[1]: *** [test-bdb] Error 1
make[1]: Leaving directory `/cygdrive/c/Dev/openldap-2.1.22/tests'
make: *** [test] Error 2


----- ---- --- -- - - - - - - - -
J.P. Medema
T: +31 30 6961263
E: jp.medema@kincite.com
----- ---- --- -- - - - - - - - -