OID Two-Way LDAP Based Replication Does Not Work. OID's oidrepld01.log Error: ldap_result2error() returned errror:Bad search filter, base:cn=changelog, filter:(&(objectclass=changelogentry)...<etc>.. (Doc ID 727956.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 10.1.4.0.1 to 10.1.4.2 [Release 10gR3]
Information in this document applies to any platform.
Checked for relevance on 25-Feb-2013

Symptoms

Two-way LDAP based replication is not working, and probably never worked since installation. Now
attempting to introduce changes, realizing that replication is not working.

The Master's oidrepld01.log shows errors:

2008/07/15:18:10:47 * gslrrfeFetchChanges:ldap_result2error() returned errror:Bad search filter,
base:cn=changelog,filter:(&(objectclass=changelogentry)(changeNumber>=3002)(changeNumber<=3001)(!(modifiersname=cn=replication dn,orclreplicaid=masteroidhost1_sid1,cn=replication configuration))(!(orclreplicationid=3))(|(targetdn=*)(targetdn=*))).
2008/07/15:18:11:11 * Failed to bind with server(replicaId)=oidhost3_sid3
2008/07/15:18:11:41 * Failed to bind with server(replicaId)=oidhost3_sid3
2008/07/15:18:11:48 * gslrrfeFetchChanges:ldap_result2error() returned errror:Bad search filter,
base:cn=changelog,
filter:(&(objectclass=changelogentry)(changeNumber>=3002)(changeNumber<=3001)(!(modifiersname=
cn=replication dn,orclreplicaid=masteroidhost1_sid1,cn=replication
configuration))(!(orclreplicationid=3))(|(targetdn=*)(targetdn=*))).
2008/07/15:18:12:11 * Failed to bind with server(replicaId)=oidhost3_sid3


> />NOTE: The errors above that read "Failed to bind with server(replicaId)=oidhost3_sid3" can be ignored as that node is currently down in this scenario.

The Mater's OID log file oidldapd01s<pid>.log shows errors:

BEGIN
2008/07/15:17:33:57 * ServerWorker (REG):8
ConnID:464038 * mesgID:15378 * OpID:15377 * OpName:search
ConnIP:10.63.143.38 ConnDN: cn=replication dn,orclreplicaid=oidhost2_sid2,cn=replication
configuration
[gsldff_FetchChgLogObjs] Unable to generate SQL from filter, osql : SELECT chg_no, NVL(target_dn,
' '), type, NVL(change, ' ') , op_time, server, NVL(orclGuid, ' ') , NVL(orclParentGuid, ' '),
retry_cnt FROM asr_chg_log where chg_no >= 44516 and chg_no <= 44515
END

BEGIN
2008/07/15:17:33:57 * ServerWorker (REG):8
ConnID:464038 * mesgID:15378 * OpID:15377 * OpName:search
ConnIP:10.63.143.38 ConnDN: cn=replication dn,orclreplicaid=oidhost2_sid2,cn=replication
configuration
[gsldfc_FetchOneLevelObjs] error 1202 encountered
END

BEGIN
2008/07/15:17:33:57 * ServerWorker (REG):8
ConnID:464038 * mesgID:15378 * OpID:15377 * OpName:search
ConnIP:10.63.143.38 ConnDN: cn=replication dn,orclreplicaid=oidhost2_sid2,cn=replication
configuration
Error in gsldfosFetchOneLevelObjs:1202
END

BEGIN
2008/07/15:17:35:30 * ServerWorker (REG):7
ConnID:531904 * mesgID:368 * OpID:367 * OpName:modify
ConnIP:10.63.137.221 ConnDN: cn=replication dn,orclreplicaid=masteroidhost1_sid1,cn=replication
configuration
gslecrireplaceEC: Can not delete null entry in the entry cache
END

BEGIN
2008/07/15:17:35:30 * ServerWorker (REG):7
ConnID:531904 * mesgID:368 * OpID:367 * OpName:modify
ConnIP:10.63.137.221 ConnDN: cn=replication dn,orclreplicaid=masteroidhost1_sid1,cn=replication
configuration
ERROR * gslsbmModify * Entry Cache update failed after commit to db
END


The remote/slave/replica oidrepld01.log shows same errors as master's:

2008/07/15:17:00:24 * 138 human intervention changes queued from masteroidhost1_sid1 to oidhost2_sid2.
2008/07/15:17:00:24 * 2 new changes (for transport) queued from masteroidhost1_sid1 to oidhost2_sid2.
2008/07/15:17:01:25 * 2 new changes queued from masteroidhost1_sid1 to oidhost2_sid2.
2008/07/15:17:03:27 * gslrrfeFetchChanges:ldap_result2error() returned errror:Bad search filter,
base:cn=changelog,
filter:(&(objectclass=changelogentry)(changeNumber>=44551)(changeNumber<=44550)(!(modifiersnam
e=cn=replication dn,orclreplicaid=oidhost2_sid2,cn=replication
configuration))(!(orclreplicationid=3))(|(targetdn=*)(targetdn=*))).
2008/07/15:17:09:33 * gslrrfeFetchChanges:ldap_result2error() returned errror:Bad search filter,
base:cn=changelog,
filter:(&(objectclass=changelogentry)(changeNumber>=44551)(changeNumber<=44550)(!(modifiersnam
e=cn=replication dn,orclreplicaid=oidhost2_sid2,cn=replication
configuration))(!(orclreplicationid=3))(|(targetdn=*)(targetdn=*))).
2008/07/15:17:10:34 * gslrrfeFetchChanges:ldap_result2error() returned errror:Bad search filter,
base:cn=changelog,
filter:(&(objectclass=changelogentry)(changeNumber>=44551)(changeNumber<=44550)(!(modifiersnam
e=cn=replication dn,orclreplicaid=oidhost2_sid2,cn=replication
configuration))(!(orclreplicationid=3))(|(targetdn=*)(targetdn=*))).
2008/07/15:17:11:35 * 1 new changes (for transport) queued from masteroidhost1_sid1 to oidhost2_sid2.
2008/07/15:17:12:36 * 1 new changes queued from masteroidhost1_sid1 to oidhost2_sid2.
2008/07/15:17:12:36 * 1 new changes (for transport) queued from masteroidhost1_sid1 to oidhost2_sid2.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms