All,
Any help would be great in resolving the following.
I am installing, as the subject states, OpenLDAP_2.4.32 on a CentOS 5.8
x86_64 bit machine(VM). When running the 'make test', it runs for about
30-minutes (it seems) then it bombs out with the following error:
>>>>> Starting test057-memberof-refint for hdb...
running defines.sh
Starting slapd on TCP/IP port 9011...
Running ldapadd to build slapd config database...
ldapadd failed (21)!
>>>>> test057-memberof-refint failed for hdb
(exit 21)
make[2]: *** [hdb-mod] Error 21
make[2]: Leaving directory `/root/downloads/openldap-2.4.32/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/root/downloads/openldap-2.4.32/tests'
make: *** [test] Error 2
Looking in the testrun directory for any clues, I find:
Test.out:
# cat test.out
ldap_add: Invalid syntax (21)
additional info: objectClass: value #1 invalid per syntax
adding new entry "olcDatabase={1}hdb,cn=config"
adding new entry "olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config"
adding new entry "olcOverlay={1}refint,olcDatabase={1}hdb,cn=config"
Then, in the slapd.1.log file:
504a441d conn=1001 op=2 do_add
ber_scanf fmt ({m) ber:
504a441d conn=1001 op=2 do_add: dn
(olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config)
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:
504a441d >>> dnPrettyNormal:
<olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config>
=> ldap_bv2dn(olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config,0)
<= ldap_bv2dn(olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config)=0
504a441d <<< dnPrettyNormal:
<olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config>,
<olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config>
504a441d conn=1001 op=2 ADD
dn="olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config"
504a441d oc_check_required entry
(olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config), objectClass
"olcMemberOf"
504a441d oc_check_allowed type "objectClass"
504a441d oc_check_allowed type "olcOverlay"
504a441d oc_check_allowed type "olcMemberOfRefInt"
504a441d oc_check_allowed type "olcMemberOfGroupOC"
504a441d oc_check_allowed type "olcMemberOfMemberAD"
504a441d oc_check_allowed type "olcMemberOfMemberOfAD"
504a441d oc_check_allowed type "structuralObjectClass"
504a441d slap_queue_csn: queing 0x4362d690
20120907185941.705554Z#000000#000#000000
504a441d ldif_back_add:
"olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config"
504a441d oc_check_required entry
(olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config), objectClass
"olcMemberOf"
504a441d oc_check_allowed type "objectClass"
504a441d oc_check_allowed type "olcOverlay"
504a441d oc_check_allowed type "olcMemberOfRefInt"
504a441d oc_check_allowed type "olcMemberOfGroupOC"
504a441d oc_check_allowed type "olcMemberOfMemberAD"
504a441d oc_check_allowed type "olcMemberOfMemberOfAD"
504a441d oc_check_allowed type "structuralObjectClass"
504a441d oc_check_allowed type "entryUUID"
504a441d oc_check_allowed type "creatorsName"
504a441d oc_check_allowed type "createTimestamp"
504a441d oc_check_allowed type "entryCSN"
504a441d oc_check_allowed type "modifiersName"
504a441d oc_check_allowed type "modifyTimestamp"
504a441d ldif_read_file: entry file exists:
"/root/downloads/openldap-2.4.32/tests/testrun/confdir/cn=config/olcDatabase
={1}hdb.ldif"
504a441d ldif_write_entry: wrote entry
"olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config"
504a441d ldif_back_add: err: 0 text:
504a441d send_ldap_result: conn=1001 op=2 p=3
504a441d send_ldap_result: err=0 matched="" text=""
504a441d send_ldap_result: conn=1001 op=2 p=3
504a441d send_ldap_result: err=0 matched="" text=""
504a441d send_ldap_response: msgid=3 tag=105 err=0
ber_flush2: 14 bytes to sd 8
504a441d conn=1001 op=2 RESULT tag=105 err=0 text=
504a441d slap_graduate_commit_csn: removing 0x51f0320
20120907185941.705554Z#000000#000#000000
504a441d connection_get(8)
504a441d connection_get(8): got connid=1001
504a441d connection_read(8): checking for input on id=1001
ber_get_next
ber_get_next: tag 0x30 len 180 contents:
504a441d op tag 0x68, time 1347044381
ber_get_next
504a441d conn=1001 op=3 do_add
ber_scanf fmt ({m) ber:
504a441d conn=1001 op=3 do_add: dn
(olcOverlay={1}refint,olcDatabase={1}hdb,cn=config)
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt (}) ber:
504a441d >>> dnPrettyNormal:
<olcOverlay={1}refint,olcDatabase={1}hdb,cn=config>
=> ldap_bv2dn(olcOverlay={1}refint,olcDatabase={1}hdb,cn=config,0)
<= ldap_bv2dn(olcOverlay={1}refint,olcDatabase={1}hdb,cn=config)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(olcOverlay={1}refint,olcDatabase={1}hdb,cn=config)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(olcOverlay={1}refint,olcDatabase={1}hdb,cn=config)=0
504a441d <<< dnPrettyNormal:
<olcOverlay={1}refint,olcDatabase={1}hdb,cn=config>,
<olcOverlay={1}refint,olcDatabase={1}hdb,cn=config>
504a441d conn=1001 op=3 ADD
dn="olcOverlay={1}refint,olcDatabase={1}hdb,cn=config"
504a441d send_ldap_result: conn=1001 op=3 p=3
504a441d send_ldap_result: err=21 matched="" text="objectClass: value #1
invalid per syntax"
504a441d send_ldap_response: msgid=4 tag=105 err=21
ber_flush2: 54 bytes to sd 8
504a441d conn=1001 op=3 RESULT tag=105 err=21 text=objectClass: value #1
invalid per syntax
504a441d connection_get(8)
504a441d connection_get(8): got connid=1001
504a441d connection_read(8): checking for input on id=1001
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
504a441d op tag 0x42, time 1347044381
ber_get_next
504a441d ber_get_next on fd 8 failed errno=0 (Success)
504a441d conn=1001 op=4 do_unbind
504a441d conn=1001 op=4 UNBIND
504a441d connection_close: conn=1001 sd=8
504a441d conn=1001 fd=8 closed
504a441d daemon: shutdown requested and initiated.
504a441d slapd shutdown: waiting for 0 operations/tasks to finish
504a441d slapd shutdown: initiated
504a441d ====> bdb_cache_release_all
504a441d slapd destroy: freeing system resources.
504a441d slapd stopped.
Dave Borresen
Solaris/Linux Systems Administrator
Surveillance Systems Group (Group 42)
MIT Lincoln Laboratory
244 Wood Street
Lexington, MA 02420
P: 781-981-2954
F: 781-981-5344
john.borresen(a)ll.mit.edu