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@ll.mit.edu
--On Friday, September 07, 2012 3:20 PM -0400 "Borresen, John - 0442 - MITLL" john.borresen@ll.mit.edu wrote:
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:
Looks like the refint test has a bug. Either you didn't enable refint to be built, or it isn't loaded correctly in the build. Can you supply your options to configure?
Either way, sounds like your actual build is fine.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Thanks, Quanah;
I just noticed that memberof is set to yes and refint is set to mod. I could try both as yes, and see if it happens that way, too. Here it is:
./configure --prefix=/usr/local/openldap \ --libexecdir=/usr/local/openldap/sbin \ --localstatedir=/var/lib/ldap_db \ --enable-slapd=yes \ --enable-cleartext=yes \ --enable-crypt=yes \ --enable-spasswd=no \ --enable-modules=yes \ --enable-rewrite=yes \ --enable-rlookups=yes \ --disable-slp \ --enable-bdb=yes \ --enable-hdb=mod \ --enable-ldap=yes \ --enable-ldif=yes \ --enable-meta=yes \ --enable-monitor=yes \ --enable-null=yes \ --enable-passwd=yes \ --enable-perl=mod \ --enable-shell=mod \ --enable-relay=mod \ --disable-sql \ --enable-overlays=yes \ --enable-accesslog=mod \ --enable-auditlog=mod \ --enable-chain=mod \ --enable-collect=mod \ --enable-constraint=mod \ --enable-dds=mod \ --enable-dynlist=mod \ --enable-memberof=yes \ --enable-ppolicy=mod \ --enable-proxycache=mod \ --enable-refint=mod \ --enable-retcode=mod \ --enable-rwm=mod \ --enable-seqmod=mod \ --enable-sssvlv=mod \ --enable-syncprov=yes \ --enable-translucent=mod \ --enable-unique=mod \ --enable-valsort=mod \ --with-cyrus-sasl=yes \ --with-tls=openssl && make depend && make
Dave Borresen Solaris/Linux Systems Administrator P: 781-981-2954 john.borresen@ll.mit.edu
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: Friday, September 07, 2012 4:06 PM To: Borresen, John - 0442 - MITLL; openldap-technical@openldap.org Subject: Re: OPENLDAP 2.4.32 INSTALLATION TEST ERRORS
--On Friday, September 07, 2012 3:20 PM -0400 "Borresen, John - 0442 - MITLL" john.borresen@ll.mit.edu wrote:
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:
Looks like the refint test has a bug. Either you didn't enable refint to be built, or it isn't loaded correctly in the build. Can you supply your options to configure?
Either way, sounds like your actual build is fine.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org