OID 11g Replication Bootstrap Hangs And Does Not Complete / oidrepld Log Shows Several Errors: ldap_add failure for <DN> with error=DSA is unwilling to perform / OID Server Log: [gsldaa_AddEntry]: ORA-2291 while adding Entry <DN> (Doc ID 1530769.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID) 11g 11.1.1.4 or higher.

While attempting to setup two-node replication, replication bootstrap hangs and does not complete.

oidrepld00_0001.log shows:

Copyright (c) 1982, 2011 Oracle.  All rights reserved.

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 0] Main:: Starting OIDREPLD against oid2.mycompany.com:3060...

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 0] Main:: Starting scheduler...

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 0] Main:: Spawning reader thread for agrmt(agrmt_id: 000003, type: 0)

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 0] Main:: Spawning worker thread for agrmt(agrmt_id: 000003, type: 0)

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 0] Main:: Spawning reader thread for agrmt(agrmt_id: 000003, type: 1)

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 0] Main:: Spawning worker thread for agrmt(agrmt_id: 000003, type: 1)

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: Merging Schema before bootstrap operation

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: Warning: Contentrules not found.

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: Warning: Contentrules not found.

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: gslrutjMergeSchema: Succeeded in Merging Schema of supplier oid1_sid1 and consumer oid2_sid2.

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: Schema Merge between supplier=oid1_sid1 and consumer=oid2_sid2 successful

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: Start to BootStrap from supplier=oid1_sid1 to consumer=oid2_sid2

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: Cleaning up ChangeLogs at consumer, oid1_sid1 from supplier, oid1_sid1

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: gslrbsbSyncDIT: Replicating namingcontext=cn=oraclecontext ......

[2013-01-29T08:48:46-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 2] Worker(Transport):: Warning: Contentrules not found.

[2013-01-29T08:48:48-05:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 2] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=OracleDASUserPriv, cn=Groups,cn=OracleContext where supplier=oid1_sid1 and consumer=oid2_sid2 with error=DSA is unwilling to perform.

[2013-01-29T08:48:49-05:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 2] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=OracleDASConfiguration, cn=Groups,cn=OracleContext where supplier=oid1_sid1 and consumer=oid2_sid2 with error=DSA is unwilling to perform.

...<etc,etc>....

[2013-01-29T08:48:57-05:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 2] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=OracleDASDeleteUser, cn=Groups,cn=OracleContext where supplier=oid1_sid1 and consumer=oid2_sid2 with error=DSA is unwilling to perform.

[2013-01-29T08:48:57-05:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 2] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=OracleDASEditUser, cn=Groups,cn=OracleContext where supplier=oid1_sid1 and consumer=oid2_sid2 with error=DSA is unwilling to perform.

[2013-01-29T08:49:01-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: gslrbssSyncDIT:Sync done successfully for namingctx: cn=oraclecontext, only 227 entries retrieved

[2013-01-29T08:49:01-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: gslrbsbSyncDIT: Replicating namingcontext=cn=oamconfigstore ......

[2013-01-29T08:49:15-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: gslrbssSyncDIT:Sync done successfully for namingctx: cn=oamconfigstore, only 1 entries retrieved

[2013-01-29T08:49:15-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: oid2.mycompany.com] [pid: 10113] [tid: 1] Reader(Transport):: gslrbsbSyncDIT: Replicating namingcontext=dc=com ......


Grepping for errors against the OID server logs (oidldapd01s<pid>-0000.log), several of the following error are returned:

[gsldaa_AddEntry]: ORA-2291 while adding Entry cn=OracleDASDeleteUser, cn=Groups,cn=OracleContext

[gsldaa_AddEntry]: ORA-2291 while adding Entry cn=OracleDASEditUser, cn=Groups,cn=OracleContext

[gsldaa_AddEntry]: ORA-2291 while adding Entry cn=Common User Attributes, cn=Groups,cn=OracleContext

 

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