My Oracle Support Banner

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 NOVEMBER 12, 2019

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: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 0] Main:: Starting OIDREPLD against <OID_HOSTNAME2>:3060...

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 0] Main:: Starting scheduler...

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [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: <OID_HOSTNAME2>] [pid: xxxxxx] [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: <OID_HOSTNAME2>] [pid: xxxxxx] [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: <OID_HOSTNAME2>] [pid: xxxxxx] [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: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: Merging Schema before bootstrap operation

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: Warning: Contentrules not found.

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: Warning: Contentrules not found.

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: gslrutjMergeSchema: Succeeded in Merging Schema of supplier <OID_HOSTNAME1>_<SID1> and consumer <OID_HOSTNAME2>_<SID2>.

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: Schema Merge between supplier=<OID_HOSTNAME1>_<SID1> and consumer=<OID_HOSTNAME2>_<SID2> successful

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: Start to BootStrap from supplier=<OID_HOSTNAME1>_<SID1> to consumer=<OID_HOSTNAME2>_<SID2>

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: Cleaning up ChangeLogs at consumer, <OID_HOSTNAME1>_<SID1> from supplier, <OID_HOSTNAME1>_<SID1>

[2013-01-29T08:38:20-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: gslrbsbSyncDIT: Replicating namingcontext=cn=oraclecontext ......

[2013-01-29T08:48:46-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: xx] Worker(Transport):: Warning: Contentrules not found.

[2013-01-29T08:48:48-05:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: xx] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=OracleDASUserPriv, cn=Groups,cn=OracleContext where supplier=<OID_HOSTNAME1>_<SID1> and consumer=<OID_HOSTNAME2>_<SID2> with error=DSA is unwilling to perform.

[2013-01-29T08:48:49-05:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: xx] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=OracleDASConfiguration, cn=Groups,cn=OracleContext where supplier=<OID_HOSTNAME1>_<SID1> and consumer=<OID_HOSTNAME2>_<SID2> with error=DSA is unwilling to perform.

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

[2013-01-29T08:48:57-05:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: xx] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=OracleDASDeleteUser, cn=Groups,cn=OracleContext where supplier=<OID_HOSTNAME1>_<SID1> and consumer=<OID_HOSTNAME2>_<SID2> with error=DSA is unwilling to perform.

[2013-01-29T08:48:57-05:00] [OID] [ERROR:8] [23026] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: xx] Worker(Transport):: In gslrbseApplyOneEntry, ldap_add failure for DN=cn=OracleDASEditUser, cn=Groups,cn=OracleContext where supplier=<OID_HOSTNAME1>_<SID1> and consumer=<OID_HOSTNAME2>_<SID2> with error=DSA is unwilling to perform.

[2013-01-29T08:49:01-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [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: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: gslrbsbSyncDIT: Replicating namingcontext=cn=<CONTAINER> ......

[2013-01-29T08:49:15-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [tid: 1] Reader(Transport):: gslrbssSyncDIT:Sync done successfully for namingctx: cn=<CONTAINER>, only 1 entries retrieved

[2013-01-29T08:49:15-05:00] [OID] [NOTIFICATION:16] [] [OIDREPLD] [host: <OID_HOSTNAME2>] [pid: xxxxxx] [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

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
Cause
Solution


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