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

Slapd Error



Hi,

We have a custom application to update our ldap database our production ldap server uses ldbm database backend and uses "slapd 2.0.25-Release" I installed another ldap server with Sleepycat Software: Berkeley DB 4.1.25 bdb database backend. which uses "slapd 2.1.16" The libraries of update prog. also uses "slapd 2.1.16" My problem is when i try to update my new ldap server it fails whereas there is no problem if i update my old ldap server, So i thought it might be the schema files , I copied the schema files from my old server and tried to restart slapd , slapd failed , it appears that i cannot use old schema files with newer version. The error that i get on new server while i do update is as follows "I started slapd with debugging"

/usr/local/libexec/slapd -f /MIK/slapd.conf -h  "ldap:/// ldaps:///"   -d 1

@(#) $OpenLDAP: slapd 2.1.16 (Wed Apr  2 11:42:16 NZST 2003) $

root@ldap-test-cs-ec.ec.auckland.ac.nz:/usr/local/src/openldap-2.1.16/servers/slapd
daemon_init: listen on ldap:///
daemon_init: listen on ldaps:///
daemon_init: 2 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: socket() failed errno=97 (Address family not supported by protocol)
daemon: initialized ldap:///
ldap_url_parse_ext(ldaps:///)
daemon: socket() failed errno=97 (Address family not supported by protocol)
daemon: initialized ldaps:///
daemon_init: 4 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 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>
bdb_db_init: Initializing BDB database
>>> dnPrettyNormal: <dc=cs,dc=auckland,dc=ac,dc=nz>
=> ldap_bv2dn(dc=cs,dc=auckland,dc=ac,dc=nz,0)
<= ldap_bv2dn(dc=cs,dc=auckland,dc=ac,dc=nz,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=cs,dc=auckland,dc=ac,dc=nz,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=cs,dc=auckland,dc=ac,dc=nz,272)=0
<<< dnPrettyNormal: <dc=cs,dc=auckland,dc=ac,dc=nz>, <dc=cs,dc=auckland,dc=ac,dc=nz>
>>> dnPrettyNormal: <cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz>
=> ldap_bv2dn(cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz,0)
<= ldap_bv2dn(cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=cs,dc=auckland,dc=ac,dc=nz,272)=0
<<< dnPrettyNormal: <cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz>, <cn=manager,dc=cs,dc=auckland,dc=ac,dc=nz>
matching_rule_use_init
1.2.840.113556.1.4.804 (integerBitOrMatch): matchingRuleUse: ( 1.2.840.113556.1.4.804 NAME 'integerBitOrMatch' APPLIES ( oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $ shadowLastChange $ gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
1.2.840.113556.1.4.803 (integerBitAndMatch): matchingRuleUse: ( 1.2.840.113556.1.4.803 NAME 'integerBitAndMatch' APPLIES ( oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $ shadowLastChange $ gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
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 ( nisMapEntry $ bootFile $
macAddress $ ipNetmaskNumber $ ipNetworkNumber $ ipHostNumber $ memberNisNetgroup $ memberUid $ loginShell $ homeDirectory $ gecos $ janetMailbox $ cNAMERecord
$ sOARecord $ nSRecord $ mXRecord $ mDRecord $ aRecord $ email $ associatedDomain $ dc $ mail $ altServer ) )
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 ( nisMapEntry $ bootFile $ macAddress $ ipNetmaskNumber $ ipNetworkNumber $ ipHostNumber $ memberNisNetgroup
$ memberUid $ loginShell $ homeDirectory $ gecos $ janetMailbox $ cNAMERecord $
sOARecord $ nSRecord $ mXRecord $ mDRecord $ aRecord $ email $ associatedDomain
$ dc $ mail $ altServer ) )
2.5.13.34 (certificateExactMatch): matchingRuleUse: ( 2.5.13.34 NAME 'certificateExactMatch' APPLIES ( cACertificate $ userCertificate ) )
2.5.13.30 (objectIdentifierFirstComponentMatch): matchingRuleUse: ( 2.5.13.30 NAME 'objectIdentifierFirstComponentMatch' APPLIES ( supportedApplicationContext $ ldapSyntaxes $ matchingRuleUse $ objectClasses $ attributeTypes $ matchingRules $ supportedFeatures $ supportedExtension $ supportedControl $ structuralObjectClass $ objectClass ) )
2.5.13.29 (integerFirstComponentMatch): matchingRuleUse: ( 2.5.13.29 NAME 'integerFirstComponentMatch' APPLIES ( oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $
shadowMin $ shadowLastChange $ gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
2.5.13.27 (generalizedTimeMatch): matchingRuleUse: ( 2.5.13.27 NAME 'generalizedTimeMatch' APPLIES ( modifyTimestamp $ createTimestamp ) )
2.5.13.24 (protocolInformationMatch): matchingRuleUse: ( 2.5.13.24 NAME 'protocolInformationMatch' APPLIES protocolInformation )
2.5.13.23 (uniqueMemberMatch): matchingRuleUse: ( 2.5.13.23 NAME 'uniqueMemberMatch' APPLIES uniqueMember )
2.5.13.22 (presentationAddressMatch): matchingRuleUse: ( 2.5.13.22 NAME 'presentationAddressMatch' APPLIES presentationAddress )
2.5.13.20 (telephoneNumberMatch): matchingRuleUse: ( 2.5.13.20 NAME 'telephoneNumberMatch' APPLIES ( pager $ mobile $ homePhone $ telephoneNumber ) )
2.5.13.17 (octetStringMatch): matchingRuleUse: ( 2.5.13.17 NAME 'octetStringMatch' APPLIES userPassword )
2.5.13.16 (bitStringMatch): matchingRuleUse: ( 2.5.13.16 NAME 'bitStringMatch' APPLIES x500UniqueIdentifier )
2.5.13.14 (integerMatch): matchingRuleUse: ( 2.5.13.14 NAME 'integerMatch' APPLIES ( oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $ shadowLastChange $ gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
2.5.13.13 (booleanMatch): matchingRuleUse: ( 2.5.13.13 NAME 'booleanMatch' APPLIES hasSubordinates )
2.5.13.11 (caseIgnoreListMatch): matchingRuleUse: ( 2.5.13.11 NAME 'caseIgnoreListMatch' APPLIES ( homePostalAddress $ registeredAddress $ postalAddress ) ) 2.5.13.8 (numericStringMatch): matchingRuleUse: ( 2.5.13.8 NAME 'numericStringMatch' APPLIES ( internationaliSDNNumber $ x121Address ) )
2.5.13.7 (caseExactSubstringsMatch): matchingRuleUse: ( 2.5.13.7 NAME 'caseExactSubstringsMatch' APPLIES ( dnQualifier $ destinationIndicator $ serialNumber ) )
2.5.13.6 (caseExactOrderingMatch): matchingRuleUse: ( 2.5.13.6 NAME 'caseExactOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $ serialNumber ) ) 2.5.13.5 (caseExactMatch): matchingRuleUse: ( 2.5.13.5 NAME 'caseExactMatch' APPLIES ( nisMapName $ ipServiceProtocol $ preferredLanguage $ employeeType $ employeeNumber $ displayName $ departmentNumber $ carLicense $ documentPublisher
$ buildingName $ organizationalStatus $ uniqueIdentifier $ co $ personalTitle $
documentLocation $ documentVersion $ documentTitle $ documentIdentifier $ host $ userClass $ roomNumber $ drink $ info $ textEncodedORAddress $ uid $ labeledURI $ dmdName $ houseIdentifier $ dnQualifier $ generationQualifier $ initials $ givenName $ destinationIndicator $ physicalDeliveryOfficeName $ postOfficeBox $ postalCode $ businessCategory $ description $ title $ ou $ o $ street $ st $ l $ c $ serialNumber $ sn $ knowledgeInformation $ cn $ name $ ref $ vendorVersion $
vendorName $ supportedSASLMechanisms ) )
2.5.13.3 (caseIgnoreOrderingMatch): matchingRuleUse: ( 2.5.13.3 NAME 'caseIgnoreOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $ serialNumber ) )
2.5.13.2 (caseIgnoreMatch): matchingRuleUse: ( 2.5.13.2 NAME 'caseIgnoreMatch' APPLIES ( nisMapName $ ipServiceProtocol $ preferredLanguage $ employeeType $ employeeNumber $ displayName $ departmentNumber $ carLicense $ documentPublisher $ buildingName $ organizationalStatus $ uniqueIdentifier $ co $ personalTitle
$ documentLocation $ documentVersion $ documentTitle $ documentIdentifier $ host $ userClass $ roomNumber $ drink $ info $ textEncodedORAddress $ uid $ labeledURI $ dmdName $ houseIdentifier $ dnQualifier $ generationQualifier $ initials $
givenName $ destinationIndicator $ physicalDeliveryOfficeName $ postOfficeBox $
postalCode $ businessCategory $ description $ title $ ou $ o $ street $ st $ l $ c $ serialNumber $ sn $ knowledgeInformation $ cn $ name $ ref $ vendorVersion
$ vendorName $ supportedSASLMechanisms ) )
2.5.13.1 (distinguishedNameMatch): matchingRuleUse: ( 2.5.13.1 NAME 'distinguishedNameMatch' APPLIES ( dITRedirect $ associatedName $ secretary $ documentAuthor $ manager $ seeAlso $ roleOccupant $ owner $ member $ distinguishedName $ aliasedObjectName $ namingContexts $ subschemaSubentry $ modifiersName $ creatorsName ) )
2.5.13.0 (objectIdentifierMatch): matchingRuleUse: ( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES ( supportedApplicationContext $ supportedFeatures $ supportedExtension $ supportedControl $ structuralObjectClass $ objectClass ) )
slapd startup: initiated.
bdb_db_open: dbenv_open(/var/lib/ldap)
slapd starting
+-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-(ACTUAL UPDATE PROCESS STARTS HERE )
put_filter: "(objectclass=*)"
put_filter: simple
put_simple_filter: "objectclass=*"
ber_scanf fmt (m) ber:
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 58 contents:
ber_get_next
ber_get_next on fd 13 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz>
=> ldap_bv2dn(cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz,0)
<= ldap_bv2dn(cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=cs,dc=auckland,dc=ac,dc=nz,272)=0
<<< dnPrettyNormal: <cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz>, <cn=manager,dc=cs,dc=auckland,dc=ac,dc=nz>
do_bind: version=2 dn="cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz" method=128
bdb_dn2entry_rw("cn=manager,dc=cs,dc=auckland,dc=ac,dc=nz")
=> bdb_dn2id_matched( "cn=manager,dc=cs,dc=auckland,dc=ac,dc=nz" )
<= bdb_dn2id_matched: no match
do_bind: v2 bind: "cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz" to "cn=Manager,dc=cs,dc=auckland,dc=ac,dc=nz"
send_ldap_result: conn=0 op=0 p=2
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 13
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 422 contents:
ber_get_next
ber_get_next on fd 13 failed errno=11 (Resource temporarily unavailable)
do_add
ber_scanf fmt ({m) ber:
>>> dnPrettyNormal: <uid=jnag001,ou=People,dc=cs,dc=auckland,dc=ac,dc=nz>
=> ldap_bv2dn(uid=jnag001,ou=People,dc=cs,dc=auckland,dc=ac,dc=nz,0)
<= ldap_bv2dn(uid=jnag001,ou=People,dc=cs,dc=auckland,dc=ac,dc=nz,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=jnag001,ou=People,dc=cs,dc=auckland,dc=ac,dc=nz,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=jnag001,ou=people,dc=cs,dc=auckland,dc=ac,dc=nz,272)=0
<<< dnPrettyNormal: <uid=jnag001,ou=People,dc=cs,dc=auckland,dc=ac,dc=nz>, <uid=jnag001,ou=people,dc=cs,dc=auckland,dc=ac,dc=nz>
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt (}) ber:
bdb_dn2entry_rw("uid=jnag001,ou=people,dc=cs,dc=auckland,dc=ac,dc=nz")
=> bdb_dn2id_matched( "uid=jnag001,ou=people,dc=cs,dc=auckland,dc=ac,dc=nz" )
<= bdb_dn2id_matched: no match
oc_check_required entry (uid=jnag001,ou=People,dc=cs,dc=auckland,dc=ac,dc=nz), objectClass "posixAccount"
oc_check_required entry (uid=jnag001,ou=People,dc=cs,dc=auckland,dc=ac,dc=nz), objectClass "account"
oc_check_allowed type "description"
oc_check_allowed type "cn"
oc_check_allowed type "objectClass"
oc_check_allowed type "loginShell"
oc_check_allowed type "userPassword"
oc_check_allowed type "uid"
oc_check_allowed type "homeDirectory"
oc_check_allowed type "gecos"
oc_check_allowed type "uidNumber"
oc_check_allowed type "gidNumber"
oc_check_allowed type "structuralObjectClass"
oc_check_allowed type "entryUUID"
oc_check_allowed type "creatorsName"
oc_check_allowed type "createTimestamp"
oc_check_allowed type "entryCSN"
oc_check_allowed type "modifiersName"
oc_check_allowed type "modifyTimestamp"
bdb_dn2entry_rw("ou=people,dc=cs,dc=auckland,dc=ac,dc=nz")
=> bdb_dn2id_matched( "ou=people,dc=cs,dc=auckland,dc=ac,dc=nz" )
<= bdb_dn2id_matched: no match
bdb_add: parent does not exist
send_ldap_result: conn=0 op=1 p=2
send_ldap_response: msgid=2 tag=105 err=32
ber_flush: 14 bytes to sd 13
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 423 contents:
ber_get_next
ber_get_next on fd 13 failed errno=11 (Resource temporarily unavailable


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


My guess is probably the new schema files are the culprit.
What actually "ber_get_next on fd 13 failed errno=11 (Resource temporarily unavailable" means ?
I would appreciate any bright idea is to what i should try, Thanks in advance for your help




Regards

-Bobby