My Oracle Support Banner

OID LDAP Based Replication Bootstrap From Supplier To Consumer/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 MAY 05, 2021

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 Supplier to Consumer/Replica fails for some entries with oidrepld00-0000.log error:

[2012-10-24T17:55:17-04:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: <CONSUMER_HOSTNAME>] [pid:<PID>] [tid: 13] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=<USER_NAME>,cn=users,dc=<COMPANY_NAME>,dc=com where supplier=<SUPPLIER_REPLICA_ID> and consumer=<CONSUMER_REPLICA_ID> 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., <SUPPLIER_REPLICA_ID>.<CONSUMER_REPLICA_ID>.<date>.<time>.err) also shows the same error for the same entries, for example:

##############################################################################
## 1
## DN :  cn=<USERNAME>,cn=users,dc=<COMPANY_NAME>,dc=com
##############################################################################
Error Code : 1
Error From : Destination directory ldap://<CONSUMER_HOSTNAME>:<PORT>/.
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:<CONSUMER_HOSTNAME>] [pid: xxx] [tid: xx] [ecid:<ecid string>] ServerWorker (REG):[[
BEGIN
ConnID:8269 mesgID:11127 OpID:11126  OpName:add ConnIP:::ffff:<IP Address> ConnDN:cn=replication dn,orclreplicaid=<CONSUMER_REPLICA_ID>,cn=replication configuration
gslfadADoAdd:conn=8269 op=11126 ADD dn="cn=<USERNAME>,cn=users,dc=<COMPANY_NAME>,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=example,"
2013-01-27T03:53:51 * Base Search Completed with: 100
2013-01-27T03:53:51 * gsldazb_InsertAttrib returned Error : 5
END
]]

 

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.