"I built two openldap servers using mirrormode on mode. After stopping the openldap processes on both servers and restarting them, one of the openldap servers lost some data while the other one remained normal. I waited for several synchronization cycles but the lost data could not be recovered. When I tried to query the lost data, I could not find it, and when I tried to add it, I was told that it already existed. Before shutting down, I took a snapshot of the machines. After restoring to the snapshot, I only started one openldap process on either of the two machines and their data was normal. However, after one data synchronization, the data on one of the machines was lost again." server01 lost some data
this is server01 slapd.conf: overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100 serverID 1 syncrepl rid=150 provider=ldap://server02 bindmethod=simple binddn="cn=admin,dc=xitong,dc=qianxin,dc=com" credentials="passwd" searchbase="dc=xitong,dc=qianxin,dc=com" schemachecking=on type=refreshAndPersist retry="60 +" mirrormode on
this is server02 slapd.conf: overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100 serverID 20 syncrepl rid=150 provider=ldap://server01 bindmethod=simple binddn="cn=admin,dc=xitong,dc=qianxin,dc=com" credentials="passwd" searchbase="dc=xitong,dc=qianxin,dc=com" schemachecking=on type=refreshAndPersist retry="60 +" mirrormode on
This is the log when I start server02 and then start server01: server02: slapd[153895]: slap_client_connect: URI=ldap://server01 DN="cn=admin,dc=xitong,dc=qianxin,dc=com" ldap_sasl_bind_s failed (-1) slapd[153895]: do_syncrepl: rid=150 rc -1 retrying slapd[153895]: slap_client_connect: URI=ldap://server01 DN="cn=admin,dc=xitong,dc=qianxin,dc=com" ldap_sasl_bind_s failed (-1) slapd[153895]: do_syncrepl: rid=150 rc -1 retrying slapd[153895]: conn=1003 fd=11 ACCEPT from IP=server01-ip:64036 (IP=0.0.0.0:389) slapd[153895]: conn=1003 op=0 BIND dn="cn=admin,dc=xitong,dc=qianxin,dc=com" method=128 slapd[153895]: conn=1003 op=0 BIND dn="cn=admin,dc=xitong,dc=qianxin,dc=com" mech=SIMPLE bind_ssf=0 ssf=0 slapd[153895]: conn=1003 op=0 RESULT tag=97 err=0 qtime=0.000066 etime=0.000462 text= slapd[153895]: conn=1003 op=1 SRCH base="dc=xitong,dc=qianxin,dc=com" scope=2 deref=0 filter="(objectClass=*)" slapd[153895]: conn=1003 op=1 SRCH attr=* + slapd[153895]: conn=1003 op=1 syncprov_op_search: got a persistent search with a cookie=rid=150,sid=001,csn=20230716091536.511728Z#000000#001#000000 slapd[153895]: conn=1003 op=1 syncprov_findbase: searching conn=1003 op=1 syncprov_op_search: registered persistent search conn=1003 op=1 syncprov_findcsn: mode=FIND_CSN csn=20230716091536.511728Z#000000#001#000000 slapd[153895]: conn=1003 op=1 syncprov_findcsn: csn==20230716091536.511728Z#000000#001#000000 not found slapd[153895]: conn=1003 op=1 syncprov_findcsn: csn<=20230716091536.511728Z#000000#001#000000 found slapd[153895]: conn=1003 op=1 syncprov_findcsn: mode=FIND_PRESENT csn= slapd[153895]: conn=1003 op=1 syncprov_sendinfo: present syncIdSet cookie= slapd[153895]: conn=1003 op=1 INTERMEDIATE oid=1.3.6.1.4.1.4203.1.9.1.4 slapd[153895]: conn=1003 op=1 ENTRY dn="cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=system,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=security,cn=system,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=audit,cn=system,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="ou=gidnumber,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="ou=policies,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=default,ou=policies,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 ENTRY dn="cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com" slapd[153895]: conn=1003 op=1 syncprov_search_response: cookie=rid=150,sid=014,csn=20230716091536.629686Z#000000#001#000000 slapd[153895]: conn=1003 op=1 syncprov_sendinfo: refreshPresent cookie=rid=150,sid=014,csn=20230716091536.629686Z#000000#001#000000 slapd[153895]: conn=1003 op=1 INTERMEDIATE oid=1.3.6.1.4.1.4203.1.9.1.4 slapd[153895]: conn=1003 op=1 syncprov_search_response: detaching op slapd[153895]: do_syncrep1: rid=150 starting refresh (sending cookie=rid=150,sid=014,csn=20230716091536.629686Z#000000#001#000000) slapd[153895]: syncrepl_message_to_entry: rid=150 DN: ou=gidNumber,dc=xitong,dc=qianxin,dc=com, UUID: 11ba8ea0-b805-103d-9ccd-b18d19d8567b slapd[153895]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7fb4fa8f2700 slapd[153895]: syncrepl_entry: rid=150 inserted UUID 11ba8ea0-b805-103d-9ccd-b18d19d8567b slapd[153895]: dn_callback : entries have identical CSN ou=gidNumber,dc=xitong,dc=qianxin,dc=com 20230720112814.263879Z#000000#000#000000 slapd[153895]: syncrepl_entry: rid=150 be_search (0) slapd[153895]: syncrepl_entry: rid=150 ou=gidNumber,dc=xitong,dc=qianxin,dc=com slapd[153895]: syncrepl_entry: rid=150 entry unchanged, ignored (ou=gidNumber,dc=xitong,dc=qianxin,dc=com) slapd[153895]: syncrepl_message_to_entry: rid=150 DN: cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com, UUID: 4320059e-bb3c-103d-8a4c-37ca95023e01 slapd[153895]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7fb4fa8f2700 slapd[153895]: syncrepl_entry: rid=150 inserted UUID 4320059e-bb3c-103d-8a4c-37ca95023e01 slapd[153895]: dn_callback : entries have identical CSN cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com 20230720112815.295348Z#000000#000#000000 slapd[153895]: syncrepl_entry: rid=150 be_search (0) slapd[153895]: syncrepl_entry: rid=150 cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com slapd[153895]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com) slapd[153895]: do_syncrep2: rid=150 LDAP_RES_INTERMEDIATE - REFRESH_DELETE slapd[153895]: do_syncrep1: rid=150 finished refresh slapd[153895]: do_syncrepl: rid=150 rc -1 retrying slapd[153895]: conn=1003 op=2 UNBIND slapd[153895]: conn=1003 fd=11 closed
server01: slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.472410Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.472535Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.474296Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.474368Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.474657Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.474825Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.474897Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.474932Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.474973Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475011Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475037Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475128Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475154Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475183Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475217Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475241Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475270Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475351Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475392Z#000000#001#000000 manage=0 slapd[85336]: slap_get_csn: conn=-1 op=0 generated new csn=20230720114843.475414Z#000000#001#000000 manage=0 slapd[85336]: syncprov_db_open: starting syncprov for suffix dc=xitong,dc=qianxin,dc=com slapd[85336]: slapd starting slapd[85336]: do_syncrep1: rid=150 starting refresh (sending cookie=rid=150,sid=001,csn=20230716091536.511728Z#000000#001#000000) slapd[85336]: do_syncrep2: rid=150 LDAP_RES_INTERMEDIATE - SYNC_ID_SET slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com, UUID: 11ab4eb8-b805-103d-972c-b9f3032e5223 slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 be_add cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com (68) slapd[85336]: dn_callback : new entry is older than ours cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com ours 20230716091536.553583Z#000000#001#000000, new 20230716091536.513653Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com, UUID: 11acb24e-b805-103d-972d-b9f3032e5223 slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 be_add cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com (68) slapd[85336]: dn_callback : new entry is older than ours cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com ours 20230716091536.561584Z#000000#001#000000, new 20230716091536.522757Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com, UUID: 11ade9f2-b805-103d-972e-b9f3032e5223 slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 be_add cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com (68) slapd[85336]: dn_callback : new entry is older than ours cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com ours 20230716091536.569582Z#000000#001#000000, new 20230716091536.530734Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com, UUID: 11ae9050-b805-103d-972f-b9f3032e5223 slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 be_add cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com (68) slapd[85336]: dn_callback : new entry is older than ours cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com ours 20230716091536.573931Z#000000#001#000000, new 20230716091536.534994Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com, UUID: 11af3d48-b805-103d-9730-b9f3032e5223 slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 be_add cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com (68) slapd[85336]: dn_callback : new entry is older than ours cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com ours 20230716091536.579566Z#000000#001#000000, new 20230716091536.539423Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=system,dc=xitong,dc=qianxin,dc=com, UUID: 11b08284-b805-103d-9731-b9f3032e5223 slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=system,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 be_add cn=system,dc=xitong,dc=qianxin,dc=com (68) slapd[85336]: dn_callback : new entry is older than ours cn=system,dc=xitong,dc=qianxin,dc=com ours 20230716091536.591594Z#000000#001#000000, new 20230716091536.547746Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=system,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com, UUID: 11b12d4c-b805-103d-9732-b9f3032e5223 slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 be_add cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com (68) slapd[85336]: dn_callback : new entry is older than ours cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com ours 20230716091536.595832Z#000000#001#000000, new 20230716091536.552121Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=security,cn=system,dc=xitong,dc=qianxin,dc=com, UUID: 11b885c4-b805-103d-9ccb-b18d19d8567b slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: dn_callback : entries have identical CSN cn=security,cn=system,dc=xitong,dc=qianxin,dc=com 20230716091536.600260Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=security,cn=system,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=security,cn=system,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=audit,cn=system,dc=xitong,dc=qianxin,dc=com, UUID: 11b95bf2-b805-103d-9ccc-b18d19d8567b slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: dn_callback : entries have identical CSN cn=audit,cn=system,dc=xitong,dc=qianxin,dc=com 20230716091536.605744Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=audit,cn=system,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=audit,cn=system,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: ou=gidNumber,dc=xitong,dc=qianxin,dc=com, UUID: 11ba8ea0-b805-103d-9ccd-b18d19d8567b slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: dn_callback : new entry is older than ours ou=gidNumber,dc=xitong,dc=qianxin,dc=com ours 20230720112814.263879Z#000000#000#000000, new 20230716091536.613594Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 ou=gidNumber,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (ou=gidNumber,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: ou=policies,dc=xitong,dc=qianxin,dc=com, UUID: 11bc5082-b805-103d-9cce-b18d19d8567b slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: dn_callback : entries have identical CSN ou=policies,dc=xitong,dc=qianxin,dc=com 20230716091536.625081Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 ou=policies,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (ou=policies,dc=xitong,dc=qianxin,dc=com) slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=default,ou=policies,dc=xitong,dc=qianxin,dc=com, UUID: 11bd03ec-b805-103d-9ccf-b18d19d8567b slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: dn_callback : entries have identical CSN cn=default,ou=policies,dc=xitong,dc=qianxin,dc=com 20230716091536.629686Z#000000#001#000000 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=default,ou=policies,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=default,ou=policies,dc=xitong,dc=qianxin,dc=com) slapd[85336]: do_syncrep2: rid=150 LDAP_RES_INTERMEDIATE - REFRESH_PRESENT slapd[85336]: do_syncrep2: rid=150 cookie=rid=150,sid=014,csn=20230716091536.629686Z#000000#001#000000 slapd[85336]: do_syncrep1: rid=150 finished refresh slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11a73b5c-b805-103d-9cbd-b18d19d8567b, dn dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11a9b7b0-b805-103d-9cbe-b18d19d8567b, dn cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11ab0386-b805-103d-9cbf-b18d19d8567b, dn cn=ALL,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=ALL,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11ace4c6-b805-103d-9cc0-b18d19d8567b, dn cn=work,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=work,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11ad87b4-b805-103d-9cc1-b18d19d8567b, dn cn=yarn,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=yarn,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11aebb70-b805-103d-9cc2-b18d19d8567b, dn cn=mr,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=mr,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11b01e84-b805-103d-9cc3-b18d19d8567b, dn cn=hbase,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=hbase,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11b16668-b805-103d-9cc4-b18d19d8567b, dn cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11b29f06-b805-103d-9cc5-b18d19d8567b, dn cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11b3d75e-b805-103d-9cc6-b18d19d8567b, dn cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11b48140-b805-103d-9cc7-b18d19d8567b, dn cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11b55d68-b805-103d-9cc8-b18d19d8567b, dn cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11b73340-b805-103d-9cc9-b18d19d8567b, dn cn=system,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=system,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 nonpresent UUID 11b7d8c2-b805-103d-9cca-b18d19d8567b, dn cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 adding entry cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com to non-present list slapd[85336]: nonpresent_callback: rid=150 present UUID 11b885c4-b805-103d-9ccb-b18d19d8567b, dn cn=security,cn=system,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 present UUID 11b95bf2-b805-103d-9ccc-b18d19d8567b, dn cn=audit,cn=system,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 present UUID 11bc5082-b805-103d-9cce-b18d19d8567b, dn ou=policies,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 present UUID 11bd03ec-b805-103d-9ccf-b18d19d8567b, dn cn=default,ou=policies,dc=xitong,dc=qianxin,dc=com slapd[85336]: nonpresent_callback: rid=150 had 15 items left in the list slapd[85336]: slap_queue_csn: queueing 0x7f20fc10fd60 20230716091536.629686Z#000000#001#000000 slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11b7d8c2-b805-103d-9cca-b18d19d8567b slapd[85336]: slap_graduate_commit_csn: removing 0x7f20fc10fd60 20230716091536.629686Z#000000#001#000000 slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=admin,cn=system,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=system,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=system,dc=xitong,dc=qianxin,dc=com (66) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=system,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_checkpoint: running checkpoint slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11b73340-b805-103d-9cc9-b18d19d8567b slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11b55d68-b805-103d-9cc8-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=noah,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11b48140-b805-103d-9cc7-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=s3,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11b3d75e-b805-103d-9cc6-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=flume,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11b29f06-b805-103d-9cc5-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=kafka,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11b16668-b805-103d-9cc4-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=hive,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=hbase,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11b01e84-b805-103d-9cc3-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=hbase,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=mr,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11aebb70-b805-103d-9cc2-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=mr,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=yarn,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11ad87b4-b805-103d-9cc1-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=yarn,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=work,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11ace4c6-b805-103d-9cc0-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=work,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=ALL,cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11ab0386-b805-103d-9cbf-b18d19d8567b slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=ALL,cn=default,dc=xitong,dc=qianxin,dc=com (0) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete cn=default,dc=xitong,dc=qianxin,dc=com (66) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=cn=default,dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11a9b7b0-b805-103d-9cbe-b18d19d8567b slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: syncrepl_del_nonpresent: rid=150 be_delete dc=xitong,dc=qianxin,dc=com (66) slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: conn=-1 op=0 syncprov_add_slog: adding csn=20230716091536.629686Z#000000#001#000000 to sessionlog, uuid=11a73b5c-b805-103d-9cbd-b18d19d8567b slapd[85336]: slap_queue_csn: queueing 0x7f20fc111370 20230716091536.629686Z#000000#001#000000 slapd[85336]: conn=-1 op=0 syncprov_matchops: recording uuid for dn=dc=xitong,dc=qianxin,dc=com on opc=0x7f20fc006268 slapd[85336]: slap_graduate_commit_csn: removing 0x7f20fc111370 20230716091536.629686Z#000000#001#000000 slapd[85336]: conn=1000 fd=14 ACCEPT from IP=server02:52108 (IP=0.0.0.0:389) slapd[85336]: conn=1000 op=0 BIND dn="cn=admin,dc=xitong,dc=qianxin,dc=com" method=128 slapd[85336]: conn=1000 op=0 BIND dn="cn=admin,dc=xitong,dc=qianxin,dc=com" mech=SIMPLE bind_ssf=0 ssf=0 slapd[85336]: conn=1000 op=0 RESULT tag=97 err=0 qtime=0.000023 etime=0.000186 text= slapd[85336]: conn=1000 op=1 SRCH base="dc=xitong,dc=qianxin,dc=com" scope=2 deref=0 filter="(objectClass=*)" slapd[85336]: conn=1000 op=1 SRCH attr=* + slapd[85336]: conn=1000 op=1 syncprov_op_search: got a persistent search with a cookie=rid=150,sid=014,csn=20230716091536.629686Z#000000#001#000000 slapd[85336]: conn=1000 op=1 syncprov_findbase: searching slapd[85336]: conn=1000 op=1 syncprov_op_search: registered persistent search slapd[85336]: conn=1000 op=1 ENTRY dn="ou=gidnumber,dc=xitong,dc=qianxin,dc=com" slapd[85336]: conn=1000 op=1 syncprov_search_response: Entry cn=default,ou=policies,dc=xitong,dc=qianxin,dc=com CSN 20230716091536.629686Z#000000#001#000000 older or equal to ctx 20230716091536.629686Z#000000#001#000000 slapd[85336]: conn=1000 op=1 ENTRY dn="cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com" slapd[85336]: conn=1000 op=1 syncprov_sendinfo: refreshDelete cookie= slapd[85336]: conn=1000 op=1 INTERMEDIATE oid=1.3.6.1.4.1.4203.1.9.1.4 slapd[85336]: conn=1000 op=1 syncprov_search_response: detaching op slapd[85336]: do_syncrep2: rid=150 cookie=rid=150,sid=014 slapd[85336]: syncrepl_message_to_entry: rid=150 DN: ou=gidNumber,dc=xitong,dc=qianxin,dc=com, UUID: 11ba8ea0-b805-103d-9ccd-b18d19d8567b slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY) csn=(none) tid 0x7f21088a2700 slapd[85336]: dn_callback : entries have identical CSN ou=gidNumber,dc=xitong,dc=qianxin,dc=com 20230720112814.263879Z#000000#000#000000 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 ou=gidNumber,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (ou=gidNumber,dc=xitong,dc=qianxin,dc=com) slapd[85336]: do_syncrep2: rid=150 cookie=rid=150,sid=014 slapd[85336]: syncrepl_message_to_entry: rid=150 DN: cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com, UUID: 4320059e-bb3c-103d-8a4c-37ca95023e01 slapd[85336]: syncrepl_entry: rid=150 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) csn=(none) tid 0x7f21090a3700 slapd[85336]: dn_callback : entries have identical CSN cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com 20230720112815.295348Z#000000#000#000000 slapd[85336]: syncrepl_entry: rid=150 be_search (0) slapd[85336]: syncrepl_entry: rid=150 cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com slapd[85336]: syncrepl_entry: rid=150 entry unchanged, ignored (cn=test011,cn=default,dc=xitong,dc=qianxin,dc=com)
This is the log printed by openldap when I try to get data from other machines: slapd[85336]: conn=1001 fd=15 ACCEPT from IP=Myserver:56212 (IP=0.0.0.0:389) slapd[85336]: conn=1001 op=0 BIND dn="cn=admin,dc=xitong,dc=qianxin,dc=com" method=128 slapd[85336]: conn=1001 op=0 BIND dn="cn=admin,dc=xitong,dc=qianxin,dc=com" mech=SIMPLE bind_ssf=0 ssf=0 slapd[85336]: conn=1001 op=0 RESULT tag=97 err=0 qtime=0.000043 etime=0.000286 text= Jul 20 19:49:20 4txf46unrccv slapd[85336]: conn=1001 op=1 UNBIND Jul 20 19:49:20 4txf46unrccv slapd[85336]: conn=1001 fd=15 closed Jul 20 19:49:20 4txf46unrccv slapd[85336]: conn=1002 fd=15 ACCEPT from IP=Myserver:56214 (IP=0.0.0.0:389) Jul 20 19:49:20 4txf46unrccv slapd[85336]: conn=1002 op=0 BIND dn="cn=admin,dc=xitong,dc=qianxin,dc=com" method=128 Jul 20 19:49:20 4txf46unrccv slapd[85336]: conn=1002 op=0 BIND dn="cn=admin,dc=xitong,dc=qianxin,dc=com" mech=SIMPLE bind_ssf=0 ssf=0 Jul 20 19:49:20 4txf46unrccv slapd[85336]: conn=1002 op=0 RESULT tag=97 err=0 qtime=0.000047 etime=0.000188 text= slapd[85336]: conn=1002 op=1 SRCH base="dc=xitong,dc=qianxin,dc=com" scope=1 deref=0 filter="(objectClass=*)" slapd[85336]: conn=1002 op=1 SRCH attr=hasSubordinates objectclass entryFlags userAccountControl lockouttime msDS-UserAccountDisabled ms-DS-UserAccountAutoLocked slapd[85336]: conn=1002 op=1 ENTRY dn="ou=policies,dc=xitong,dc=qianxin,dc=com" slapd[85336]: conn=1002 op=1 ENTRY dn="ou=gidnumber,dc=xitong,dc=qianxin,dc=com" slapd[85336]: conn=1002 op=1 SEARCH RESULT tag=101 err=0 qtime=0.000043 etime=0.000524 nentries=2 text= slapd[85336]: conn=1002 op=2 SRCH base="ou=policies,dc=xitong,dc=qianxin,dc=com" scope=1 deref=0 filter="(objectClass=*)" slapd[85336]: conn=1002 op=2 SRCH attr=hasSubordinates objectclass entryFlags userAccountControl lockouttime msDS-UserAccountDisabled ms-DS-UserAccountAutoLocked slapd[85336]: conn=1002 op=2 ENTRY dn="cn=default,ou=policies,dc=xitong,dc=qianxin,dc=com" slapd[85336]: conn=1002 op=2 SEARCH RESULT tag=101 err=0 qtime=0.000045 etime=0.000417 nentries=1 text=