My Oracle Support Banner

OID 10g 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 APRIL 08, 2021

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.

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 Primary'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=<PRIMARY_OIDHOST_SID1>,cn=replication configuration))(!(orclreplicationid=3))(|(targetdn=*)(targetdn=*))).
2008/07/15:18:11:11 * Failed to bind with server(replicaId)=<REPLICA_HOST3_SID3>
2008/07/15:18:11:41 * Failed to bind with server(replicaId)=<REPLICA_HOST3_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=<PRIMARY_OIDHOST_SID1>,cn=replication
configuration))(!(orclreplicationid=3))(|(targetdn=*)(targetdn=*))).
2008/07/15:18:12:11 * Failed to bind with server(replicaId)=<REPLICA_HOST3_SID3>


> />NOTE: The errors above that read "Failed to bind with server(replicaId)=<REPLICA_HOST3_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: <IP_ADDRESS> ConnDN: cn=replication dn,orclreplicaid=<REPLICA_HOST2_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: <IP_ADDRESS> ConnDN: cn=replication dn,orclreplicaid=<REPLICA_HOST2_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: <IP_ADDRESS> ConnDN: cn=replication dn,orclreplicaid=<REPLICA_HOST2_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: <IP_ADDRESS> ConnDN: cn=replication dn,orclreplicaid=<PRIMARY_OIDHOST_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: <IP_ADDRESS> ConnDN: cn=replication dn,orclreplicaid=<PRIMARY_OIDHOST_SID1>,cn=replication
configuration
ERROR * gslsbmModify * Entry Cache update failed after commit to db
END


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

2008/07/15:17:00:24 * 138 human intervention changes queued from <PRIMARY_OIDHOST_SID1> to REPLICA_HOST2_SID2>.
2008/07/15:17:00:24 * 2 new changes (for transport) queued from <PRIMARY_OIDHOST_SID1> to REPLICA_HOST2_SID2>.
2008/07/15:17:01:25 * 2 new changes queued from <PRIMARY_OIDHOST_SID1> to REPLICA_HOST2_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=REPLICA_HOST2_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=REPLICA_HOST2_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=REPLICA_HOST2_SID2>,cn=replication
configuration))(!(orclreplicationid=3))(|(targetdn=*)(targetdn=*))).
2008/07/15:17:11:35 * 1 new changes (for transport) queued from <PRIMARY_OIDHOST_SID1> to REPLICA_HOST2_SID2>.
2008/07/15:17:12:36 * 1 new changes queued from <PRIMARY_OIDHOST_SID1> to REPLICA_HOST2_SID2>.
2008/07/15:17:12:36 * 1 new changes (for transport) queued from <PRIMARY_OIDHOST_SID1> to REPLICA_HOST2_SID2>.



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.