hyc@symas.com ha scritto:
Luca Scamoni wrote:
hyc@symas.com ha scritto:
Apparently the name of the entry in the consumer doesn't match the name of the entry received from the provider.
Yes, but this is very strange. This is a migration from 2.3.37 to 2.4.16 done through slapcat/slapadd procedure on the master.
In frame 5, print *entry
(gdb) frame 5 #5 0x080f39f4 in syncrepl_entry (si=0x8fdebf8, op=0x380acf0, entry=0x54eba5f4, modlist=0x380aaf4, syncstate=2, syncUUID=0x380ab50, syncCSN=0x4d3e0388) at ../../../servers/slapd/syncrepl.c:2278 2278 ../../../servers/slapd/syncrepl.c: No such file or directory. in ../../../servers/slapd/syncrepl.c (gdb) p *entry $1 = {e_id = 0, e_name = {bv_len = 0, bv_val = 0x4d3691c8 ""}, e_nname = {bv_len = 0, bv_val = 0x4d31cff8 ""}, e_attrs = 0x54a371fc, e_ocflags = 0, e_bv = { bv_len = 0, bv_val = 0x0}, e_private = 0x0}
Well, that's certainly odd looking. Did you have SYNC logging at the time, do you have the log messages from just before this occurred?
Can you print out the a_desc and values of all of the attributes in entry->e_attrs ?
loglevel is stats sync. values in another email
here an excerpt of the logs from master:
May 7 09:00:13 quercia01 slapd[22251]: conn=144 op=604 MOD attr=certificateRevocationList;binary May 7 09:00:13 quercia01 slapd[22251]: slap_queue_csn: queing 0x1ce3980 20090507070013.853843Z#000000#000#000000 May 7 09:00:13 quercia01 slapd[22251]: conn=571 op=444 RESULT tag=103 err=0 text= May 7 09:00:13 quercia01 slapd[22251]: slap_graduate_commit_csn: removing 0x97c2860 20090507070013.733132Z#000000#000#000000 May 7 09:00:13 quercia01 slapd[22251]: conn=144 op=604 RESULT tag=103 err=0 text= May 7 09:00:14 quercia01 slapd[22251]: slap_graduate_commit_csn: removing 0x4564c8b0 20090507070013.853843Z#000000#000#000000 May 7 09:00:13 quercia01 slapd[22251]: syncprov_sendresp: cookie=rid=002,csn=20090507070013.733132Z#000000#000#000000 May 7 09:00:13 quercia01 slapd[22251]: conn=567 op=445 MOD dn="cn=CRL19,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana,c=IT,dc=a ,dc=prod,dc=actalis" May 7 09:00:14 quercia01 slapd[22251]: syncprov_sendresp: cookie=rid=002,csn=20090507070013.853843Z#000000#000#000000 May 7 09:00:14 quercia01 slapd[22251]: conn=567 op=445 MOD attr=certificateRevocationList;binary May 7 09:00:14 quercia01 slapd[22251]: conn=130 op=605 MOD dn="cn=CRL7,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana,c=IT,dc=a, dc=prod,dc=actalis" May 7 09:00:14 quercia01 slapd[22251]: conn=130 op=605 MOD attr=certificateRevocationList;binary May 7 09:00:14 quercia01 slapd[22251]: slap_queue_csn: queing 0x38f3980 20090507070014.234380Z#000000#000#000000 May 7 09:00:14 quercia01 slapd[22251]: slap_queue_csn: queing 0x59ad980 20090507070014.312708Z#000000#000#000000 May 7 09:00:14 quercia01 slapd[22251]: conn=567 op=445 RESULT tag=103 err=0 text= May 7 09:00:14 quercia01 slapd[22251]: conn=130 op=605 RESULT tag=103 err=0 text= May 7 09:00:14 quercia01 slapd[22251]: syncprov_sendresp: cookie=rid=002,csn=20090507070014.234380Z#000000#000#000000 May 7 09:00:14 quercia01 slapd[22251]: syncprov_sendresp: cookie=rid=002,csn=20090507070014.312708Z#000000#000#000000 May 7 09:00:14 quercia01 slapd[22251]: slap_graduate_commit_csn: removing 0x460d6410 20090507070014.234380Z#000000#000#000000 May 7 09:00:14 quercia01 slapd[22251]: conn=129 op=620 MOD dn="cn=CRL41,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana,c=IT,dc=a ,dc=prod,dc=actalis" May 7 09:00:14 quercia01 slapd[22251]: slap_graduate_commit_csn: removing 0x97a6360 20090507070014.312708Z#000000#000#000000
and these from the replica: May 7 09:00:10 quercia02 slapd[13339]: do_syncrep2: cookie=rid=002,csn=20090507070009.855998Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: syncrepl_entry: rid=002 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY) May 7 09:00:10 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_search (0) May 7 09:00:10 quercia02 slapd[13339]: syncrepl_entry: rid=002 cn=CRL24,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana,c=IT,dc=a ,dc=prod,dc=actalis May 7 09:00:10 quercia02 slapd[13339]: slap_queue_csn: queing 0x548befa8 20090507070009.855998Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x50067650 20090507070009.855998Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_modify cn=CRL24,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana ,c=IT,dc=a,dc=prod,dc=actalis (0) May 7 09:00:10 quercia02 slapd[13339]: slap_queue_csn: queing 0x548befa8 20090507070009.855998Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x507fb9e0 20090507070009.855998Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: do_syncrep2: cookie=rid=002,csn=20090507070010.127066Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: syncrepl_entry: rid=002 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY) May 7 09:00:10 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_search (0) May 7 09:00:10 quercia02 slapd[13339]: syncrepl_entry: rid=002 cn=CRL43,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana,c=IT,dc=a ,dc=prod,dc=actalis May 7 09:00:10 quercia02 slapd[13339]: slap_queue_csn: queing 0x548befa8 20090507070010.127066Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x4c1db4a0 20090507070010.127066Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_modify cn=CRL43,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana ,c=IT,dc=a,dc=prod,dc=actalis (0) May 7 09:00:10 quercia02 slapd[13339]: slap_queue_csn: queing 0x548befa8 20090507070010.127066Z#000000#000#000000 May 7 09:00:10 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x4c1db4a0 20090507070010.127066Z#000000#000#000000 May 7 09:00:13 quercia02 slapd[13339]: conn=111 op=1710 SRCH base="o=Actalis S.p.A.,c=it,dc=b,dc=prod,dc=actalis" scope=0 deref=0 filter="(objectClass=*)" May 7 09:00:13 quercia02 slapd[13339]: conn=111 op=1710 SEARCH RESULT tag=101 err=0 nentries=1 text= May 7 09:00:13 quercia02 slapd[13339]: conn=110 op=1710 SRCH base="o=Actalis S.p.A.,c=it,dc=a,dc=prod,dc=actalis" scope=0 deref=0 filter="(objectClass=*)" May 7 09:00:13 quercia02 slapd[13339]: conn=110 op=1710 SEARCH RESULT tag=101 err=0 nentries=1 text= May 7 09:00:13 quercia02 slapd[13339]: do_syncrep2: cookie=rid=002,csn=20090507070013.348033Z#000000#000#000000 May 7 09:00:13 quercia02 slapd[13339]: syncrepl_entry: rid=002 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY) May 7 09:00:13 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_search (0) May 7 09:00:13 quercia02 slapd[13339]: syncrepl_entry: rid=002 cn=CRL40,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana,c=IT,dc=a ,dc=prod,dc=actalis May 7 09:00:13 quercia02 slapd[13339]: slap_queue_csn: queing 0x548d78b0 20090507070013.348033Z#000000#000#000000 May 7 09:00:13 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x50488548 20090507070013.348033Z#000000#000#000000 May 7 09:00:13 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_modify cn=CRL40,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana ,c=IT,dc=a,dc=prod,dc=actalis (0) May 7 09:00:13 quercia02 slapd[13339]: slap_queue_csn: queing 0x548d78b0 20090507070013.348033Z#000000#000#000000 May 7 09:00:13 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x4c1db4a0 20090507070013.348033Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: conn=108 op=1719 SRCH base="ou=CA BNL Multiservizi S.p.A. Open Market,o=BNL Multiservizi S.p.A. Open Market,dc=a,dc=p rod,dc=actalis" scope=0 deref=0 filter="(objectClass=*)" May 7 09:00:14 quercia02 slapd[13339]: conn=108 op=1719 SEARCH RESULT tag=101 err=0 nentries=1 text= May 7 09:00:14 quercia02 slapd[13339]: conn=109 op=1719 SRCH base="ou=CA BNL Multiservizi S.p.A. Open Market,o=BNL Multiservizi S.p.A. Open Market,dc=b,dc=p rod,dc=actalis" scope=0 deref=0 filter="(objectClass=*)" May 7 09:00:14 quercia02 slapd[13339]: conn=109 op=1719 SEARCH RESULT tag=101 err=32 nentries=0 text= May 7 09:00:14 quercia02 slapd[13339]: do_syncrep2: cookie=rid=002,csn=20090507070013.733132Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY) May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_search (0) May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 cn=CRL27,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana,c=IT,dc=a ,dc=prod,dc=actalis May 7 09:00:14 quercia02 slapd[13339]: slap_queue_csn: queing 0x4c1db4a0 20090507070013.733132Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: conn=112 op=1705 SRCH base="cn=Actalis Qualified Certificates CA,ou=Qualified Certification Service Provider,o=Actali s S.p.A.,c=IT,dc=a,dc=prod,dc=actalis" scope=0 deref=0 filter="(objectClass=*)" May 7 09:00:14 quercia02 slapd[13339]: conn=112 op=1705 SEARCH RESULT tag=101 err=32 nentries=0 text= May 7 09:00:14 quercia02 slapd[13339]: conn=113 op=1705 SRCH base="cn=Actalis Qualified Certificates CA,ou=Qualified Certification Service Provider,o=Actali s S.p.A.,c=IT,dc=b,dc=prod,dc=actalis" scope=0 deref=0 filter="(objectClass=*)" May 7 09:00:14 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x54834a08 20090507070013.733132Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_modify cn=CRL27,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana ,c=IT,dc=a,dc=prod,dc=actalis (0) May 7 09:00:14 quercia02 slapd[13339]: slap_queue_csn: queing 0x4c1db4a0 20090507070013.733132Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: conn=113 op=1705 SEARCH RESULT tag=101 err=0 nentries=1 text= May 7 09:00:14 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x548befa8 20090507070013.733132Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: do_syncrep2: cookie=rid=002,csn=20090507070013.853843Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY) May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_search (0) May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 cn=CRL37,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana,c=IT,dc=a ,dc=prod,dc=actalis May 7 09:00:14 quercia02 slapd[13339]: slap_queue_csn: queing 0x4d32e218 20090507070013.853843Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x4d3657d8 20090507070013.853843Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_modify cn=CRL37,ou=Regione Siciliana Certification Authority Cittadini,o=Regione Siciliana ,c=IT,dc=a,dc=prod,dc=actalis (0) May 7 09:00:14 quercia02 slapd[13339]: slap_queue_csn: queing 0x4d32e218 20090507070013.853843Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: slap_graduate_commit_csn: removing 0x45659710 20090507070013.853843Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: do_syncrep2: cookie=rid=002,csn=20090507070014.234380Z#000000#000#000000 May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY) May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 be_search (0) May 7 09:00:14 quercia02 slapd[13339]: syncrepl_entry: rid=002 May 7 09:00:14 quercia02 slapd[13339]: slap_queue_csn: queing 0x45663bb0 20090507070014.234380Z#000000#000#000000
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ----------------------------------- Office: +39 0382 573859 (137) Fax: +39 0382 476497 Email: luca.scamoni@sys-net.it -----------------------------------