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

RE: make test failed (ITS#2249)



The error shows that the Berkeley DB library was unable to initialize itself.
This is not a bug in OpenLDAP. You should check your system configuration and
read the BDB documentation to make sure you have it set up correctly. This
failure is typical when trying to use BDB with NFS. BDB does not support
operation over networked/remote filesystems.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
> qchang@sten.sunnybrook.utoronto.ca
> Sent: Monday, December 23, 2002 9:22 AM
> To: openldap-its@OpenLDAP.org
> Subject: make test failed (ITS#2249)
>
>
> Full_Name: Qing Chang
> Version: 2.1.9
> OS: Solaris 8
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (142.150.192.30)
>
>
> Openldap-2.1.9 is compiled successfully with openssl-0.9.6g,
> tcp_wrappers_7.6,
> cyrus-sasl-2.1.10 and Sleepcat Berkley db-4.1.24 on Solaris 8.
>
> Configured as follows:
> ./configure --with-tls --enable-spasswd --enable-wrappers
> --disable-ipv6
>
> Running "make test" produce the following error message:
> ----- error message begin -----
> cd tests; make test
> ln: cannot create ./data: File exists
> *** Error code 2 (ignored)
> ln: cannot create ./schema: File exists
> *** Error code 2 (ignored)
> ln: cannot create ucdata/liblunicode: File exists
> *** Error code 2 (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...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: kill: no such process
> ldap_bind: Can't contact LDAP server (81)
> >>>>> Test failed
> >>>>> ./scripts/test000-rootdse failed (exit 1)
> *** Error code 1
> make: Fatal error: Command failed for target `test-bdb'
> Current working directory /home/qchang/openldap-2.1.9/tests
> *** Error code 1
> make: Fatal error: Command failed for target `test'
> ----- error message end -----
>
> Following is contents of master.log:
> ------ master.log begin -----
> @(#) $OpenLDAP: slapd 2.1.9 (Fri Dec 20 12:12:33 EST 2002) $
>         qchang@ldapsvr:/home/qchang/openldap-2.1.9/servers/slapd
> daemon_init: ldap://localhost:9009/
> daemon_init: listen on ldap://localhost:9009/
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap://localhost:9009/)
> daemon: initialized ldap://localhost:9009/
> daemon_init: 1 listeners opened
> slapd init: initiated server.
> slap_sasl_init: initialized!
> bdb_initialize: initialize BDB backend
> bdb_initialize: Sleepycat Software: Berkeley DB 4.1.24:
> (September 13, 2002)
> >>> dnNormalize: <cn=Subschema>
> => ldap_bv2dn(cn=Subschema,0)
> <= ldap_bv2dn(cn=Subschema,0)=0
> => ldap_dn2bv(272)
> <= ldap_dn2bv(cn=subschema,272)=0
> <<< dnNormalize: <cn=subschema>
> => str2entry
> >>> dnPrettyNormal: <>
> <<< dnPrettyNormal: <>, <>
> <= str2entry() -> 0x1cafa0
> bdb_db_init: Initializing BDB database
> >>> dnPrettyNormal: <o=OpenLDAP Project,l=Internet>
> => ldap_bv2dn(o=OpenLDAP Project,l=Internet,0)
> <= ldap_bv2dn(o=OpenLDAP Project,l=Internet,0)=0
> => ldap_dn2bv(272)
> <= ldap_dn2bv(o=OpenLDAP Project,l=Internet,272)=0
> => ldap_dn2bv(272)
> <= ldap_dn2bv(o=openldap project,l=internet,272)=0
> <<< dnPrettyNormal: <o=OpenLDAP Project,l=Internet>, <o=openldap
> project,l=internet>
> matching_rule_use_init
>     2.5.13.0 (objectIdentifierMatch): matchingRuleUse: ( 2.5.13.0 NAME
> 'objectIdentifierMatch' APPLIES ( objectClass $
> structuralObjectClass $
> supportedControl $ supportedExtension $ supportedFeatures $
> supportedApplicationContext ) )
>     2.5.13.1 (distinguishedNameMatch): matchingRuleUse: (
> 2.5.13.1 NAME
> 'distinguishedNameMatch' APPLIES ( creatorsName $ modifiersName $
> subschemaSubentry $ namingContexts $ aliasedObjectName $
> distinguishedName $
> member $ owner $ roleOccupant $ seeAlso $ manager $
> documentAuthor $ secretary $
> associatedName $ dITRedirect ) )
>     2.5.13.2 (caseIgnoreMatch): matchingRuleUse: ( 2.5.13.2 NAME
> 'caseIgnoreMatch' APPLIES ( supportedSASLMechanisms $
> vendorName $ vendorVersion
> $ ref $ name $ cn $ knowledgeInformation $ sn $ serialNumber
> $ c $ l $ st $
> street $ o $ ou $ title $ description $ businessCategory $
> postalCode $
> postOfficeBox $ physicalDeliveryOfficeName $
> destinationIndicator $ givenName $
> initials $ generationQualifier $ dnQualifier $
> houseIdentifier $ dmdName $
> labeledURI $ uid $ textEncodedORAddress $ info $ drink $
> roomNumber $ userClass
> $ host $ documentIdentifier $ documentTitle $ documentVersion
> $ documentLocation
> $ personalTitle $ co $ uniqueIdentifier $
> organizationalStatus $ buildingName $
> documentPublisher $ corbaRepositoryId $ javaClassName $
> javaClassNames $
> javaFactory $ javaReferenceAddress $ carLicense $
> departmentNumber $ displayName
> $ employeeNumber $ employeeType $ preferredLanguage $
> ipServiceProtocol $
> nisMapName ) )
>     2.5.13.3 (caseIgnoreOrderingMatch): matchingRuleUse: (
> 2.5.13.3 NAME
> 'caseIgnoreOrderingMatch' APPLIES ( serialNumber $
> destinationIndicator $
> dnQualifier ) )
>     2.5.13.5 (caseExactMatch): matchingRuleUse: ( 2.5.13.5
> NAME 'caseExactMatch'
> APPLIES ( supportedSASLMechanisms $ vendorName $
> vendorVersion $ ref $ name $ cn
> $ knowledgeInformation $ sn $ serialNumber $ c $ l $ st $
> street $ o $ ou $
> title $ description $ businessCategory $ postalCode $ postOfficeBox $
> physicalDeliveryOfficeName $ destinationIndicator $ givenName
> $ initials $
> generationQualifier $ dnQualifier $ houseIdentifier $ dmdName
> $ labeledURI $ uid
> $ textEncodedORAddress $ info $ drink $ roomNumber $
> userClass $ host $
> documentIdentifier $ documentTitle $ documentVersion $
> documentLocation $
> personalTitle $ co $ uniqueIdentifier $ organizationalStatus
> $ buildingName $
> documentPublisher $ corbaRepositoryId $ javaClassName $
> javaClassNames $
> javaFactory $ javaReferenceAddress $ carLicense $
> departmentNumber $ displayName
> $ employeeNumber $ employeeType $ preferredLanguage $
> ipServiceProtocol $
> nisMapName ) )
>     2.5.13.6 (caseExactOrderingMatch): matchingRuleUse: (
> 2.5.13.6 NAME
> 'caseExactOrderingMatch' APPLIES ( serialNumber $
> destinationIndicator $
> dnQualifier ) )
>     2.5.13.7 (caseExactSubstringsMatch): matchingRuleUse: (
> 2.5.13.7 NAME
> 'caseExactSubstringsMatch' APPLIES ( serialNumber $
> destinationIndicator $
> dnQualifier ) )
>     2.5.13.8 (numericStringMatch): matchingRuleUse: ( 2.5.13.8 NAME
> 'numericStringMatch' APPLIES ( x121Address $
> internationaliSDNNumber ) )
>     2.5.13.11 (caseIgnoreListMatch): matchingRuleUse: ( 2.5.13.11 NAME
> 'caseIgnoreListMatch' APPLIES ( postalAddress $ registeredAddress $
> homePostalAddress ) )
>     2.5.13.13 (booleanMatch): matchingRuleUse: ( 2.5.13.13
> NAME 'booleanMatch'
> APPLIES hasSubordinates )
>     2.5.13.14 (integerMatch): matchingRuleUse: ( 2.5.13.14
> NAME 'integerMatch'
> APPLIES ( supportedLDAPVersion $ mailPreferenceOption $
> uidNumber $ gidNumber $
> shadowLastChange $ shadowMin $ shadowMax $ shadowWarning $
> shadowInactive $
> shadowExpire $ shadowFlag $ ipServicePort $ ipProtocolNumber
> $ oncRpcNumber ) )
>     2.5.13.16 (bitStringMatch): matchingRuleUse: ( 2.5.13.16 NAME
> 'bitStringMatch' APPLIES x500UniqueIdentifier )
>     2.5.13.17 (octetStringMatch): matchingRuleUse: ( 2.5.13.17 NAME
> 'octetStringMatch' APPLIES ( userPassword $ javaSerializedData ) )
>     2.5.13.20 (telephoneNumberMatch): matchingRuleUse: (
> 2.5.13.20 NAME
> 'telephoneNumberMatch' APPLIES ( telephoneNumber $ homePhone
> $ mobile $ pager )
> )
>     2.5.13.22 (presentationAddressMatch): matchingRuleUse: (
> 2.5.13.22 NAME
> 'presentationAddressMatch' APPLIES presentationAddress )
>     2.5.13.23 (uniqueMemberMatch): matchingRuleUse: ( 2.5.13.23 NAME
> 'uniqueMemberMatch' APPLIES uniqueMember )
>     2.5.13.24 (protocolInformationMatch): matchingRuleUse: (
> 2.5.13.24 NAME
> 'protocolInformationMatch' APPLIES protocolInformation )
>     2.5.13.27 (generalizedTimeMatch): matchingRuleUse: (
> 2.5.13.27 NAME
> 'generalizedTimeMatch' APPLIES ( createTimestamp $ modifyTimestamp ) )
>     2.5.13.29 (integerFirstComponentMatch): matchingRuleUse:
> ( 2.5.13.29 NAME
> 'integerFirstComponentMatch' APPLIES ( supportedLDAPVersion $
> mailPreferenceOption $ uidNumber $ gidNumber $
> shadowLastChange $ shadowMin $
> shadowMax $ shadowWarning $ shadowInactive $ shadowExpire $
> shadowFlag $
> ipServicePort $ ipProtocolNumber $ oncRpcNumber ) )
>     2.5.13.30 (objectIdentifierFirstComponentMatch):
> matchingRuleUse: (
> 2.5.13.30 NAME 'objectIdentifierFirstComponentMatch' APPLIES
> ( objectClass $
> structuralObjectClass $ supportedControl $ supportedExtension $
> supportedFeatures $ matchingRules $ attributeTypes $ objectClasses $
> matchingRuleUse $ ldapSyntaxes $ supportedApplicationContext ) )
>     2.5.13.34 (certificateExactMatch): matchingRuleUse: (
> 2.5.13.34 NAME
> 'certificateExactMatch' APPLIES ( userCertificate $ cACertificate ) )
>     1.3.6.1.4.1.1466.109.114.1 (caseExactIA5Match): matchingRuleUse: (
> 1.3.6.1.4.1.1466.109.114.1 NAME 'caseExactIA5Match' APPLIES (
> altServer $ mail $
> dc $ associatedDomain $ email $ aRecord $ mDRecord $ mXRecord
> $ nSRecord $
> sOARecord $ cNAMERecord $ janetMailbox $ corbaIor $
> javaCodebase $ javaDoc $
> mailLocalAddress $ mailHost $ mailRoutingAddress $
> rfc822MailMember $ gecos $
> homeDirectory $ loginShell $ memberUid $ memberNisNetgroup $
> ipHostNumber $
> ipNetworkNumber $ ipNetmaskNumber $ macAddress $ bootFile $
> nisMapEntry ) )
>     1.3.6.1.4.1.1466.109.114.2 (caseIgnoreIA5Match):
> matchingRuleUse: (
> 1.3.6.1.4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match' APPLIES
> ( altServer $ mail
> $ dc $ associatedDomain $ email $ aRecord $ mDRecord $
> mXRecord $ nSRecord $
> sOARecord $ cNAMERecord $ janetMailbox $ corbaIor $
> javaCodebase $ javaDoc $
> mailLocalAddress $ mailHost $ mailRoutingAddress $
> rfc822MailMember $ gecos $
> homeDirectory $ loginShell $ memberUid $ memberNisNetgroup $
> ipHostNumber $
> ipNetworkNumber $ ipNetmaskNumber $ macAddress $ bootFile $
> nisMapEntry ) )
>     1.2.840.113556.1.4.803 (integerBitAndMatch): matchingRuleUse: (
> 1.2.840.113556.1.4.803 NAME 'integerBitAndMatch' APPLIES (
> supportedLDAPVersion
> $ mailPreferenceOption $ uidNumber $ gidNumber $
> shadowLastChange $ shadowMin $
> shadowMax $ shadowWarning $ shadowInactive $ shadowExpire $
> shadowFlag $
> ipServicePort $ ipProtocolNumber $ oncRpcNumber ) )
>     1.2.840.113556.1.4.804 (integerBitOrMatch): matchingRuleUse: (
> 1.2.840.113556.1.4.804 NAME 'integerBitOrMatch' APPLIES (
> supportedLDAPVersion $
> mailPreferenceOption $ uidNumber $ gidNumber $
> shadowLastChange $ shadowMin $
> shadowMax $ shadowWarning $ shadowInactive $ shadowExpire $
> shadowFlag $
> ipServicePort $ ipProtocolNumber $ oncRpcNumber ) )
> slapd startup: initiated.
> bdb_db_open: o=OpenLDAP Project,l=Internet
> bdb_db_open: dbenv_open(./test-db)
> bdb(o=OpenLDAP Project,l=Internet): mmap: Resource
> temporarily unavailable
> bdb_db_open: dbenv_open failed: Resource temporarily unavailable (11)
> backend_startup: bi_db_open(0) failed! (11)
> slapd shutdown: initiated
> ====> bdb_cache_release_all
> slapd shutdown: freeing system resources.
> bdb(o=OpenLDAP Project,l=Internet): txn_checkpoint interface
> requires an
> environment configured for the transaction subsystem
> bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
> ====> bdb_cache_release_all
> slapd stopped.
> connections_destroy: nothing to destroy.
> ------ master.log begin -----
>
>
>
>