OID LDAP Based Replication Bootstrap From Master To Replica Fails For Some Entries With oidrepld00-0000.log Error: ldap_add failure for DN=<dn value> where supplier=<host_sid> and consumer=<host_sid> with error=Operations error. (Doc ID 1506241.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 10.1.4 to 11.1.1 [Release 10gR3 to 11g]
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID) 10g or 11g.

Attempting to configure LDAP based OID 11g Replication, bootstrap from Master to Replica fails for some entries with oidrepld00-0000.log error:

[2012-10-24T17:55:17-04:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: myoidreplicahost.mycompany.com] [pid: 9379] [tid: 13] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=123456,cn=users,dc=mycompany,dc=com where supplier=mymasteroidhost_mastersid and consumer=myreplicaoidhost_replicasid with error=Operations error.

After trying "OPTION #2" as suggested towards the end of the replication log, the oidcmprec operation=reconcile resulting err file (i.e., mymasteroidhost_mastersid.myreplicaoidhost_replicasid.<date>.<time>.err) also shows the same error for the same entries, for example:

##############################################################################
## 1
## DN :  cn=123456,cn=users,dc=mycompany,dc=com
##############################################################################
Error Code : 1
Error From : Destination directory ldap://myoidreplicahost.mycompany.com:3060/.
Error Message : Operations error

The following can be found in the debugged OID server log:

[2013-01-27T03:53:51-05:00] [OID] [TRACE:16] [] [OIDLDAPD] [host:myreplicaoid.mycompany.com] [pid: 2786] [tid: 9] [ecid:004p45Ch9f_1rYTMyAyWMG0000fY006Jme,0] ServerWorker (REG):[[
BEGIN
ConnID:8269 mesgID:11127 OpID:11126  OpName:add ConnIP:::ffff:<IP Address> ConnDN:cn=replication dn,orclreplicaid=myreplicaoid_replicasid,cn=replication configuration
gslfadADoAdd:conn=8269 op=11126 ADD dn="cn=user1,cn=users,dc=mycompany,dc=com"
2013-01-27T03:53:51 * Base Search Sql: SELECT /*+ USE_NL(store) USE_NL(dn) INDEX(store EI_ATTRSTORE) INDEX(dn RP_DN) ORDERED */ store.entryid,AttrName,NVL(AttrVal,' '),attrkind,NVL(attrstype, ''),NVL(AttrVer,' ') FROM CT_DN dn, ds_attrStore store WHERE (dn.rdn = :szCommonName AND dn.parentdn = :szBaseDomain) AND store.entryid = dn.entryid
2013-01-27T03:53:51 * Bind variables: :szCommonName = "cn=users",:szBaseDomain = "dc=com,dc=mycompany,"
2013-01-27T03:53:51 * Base Search Completed with: 100
2013-01-27T03:53:51 * gsldazb_InsertAttrib returned Error : 5
END
]]

 

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