LDAP Replication Does Not Work After Replica Install (Doc ID 375680.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 10.1.2.0.2 and later
Information in this document applies to any platform.
This problem can occur on any platform.
***Checked for relevance on 30-July-2013***

Symptoms

After installing OID Replica using the 10gAS Infrastructure LDAP Replication option, replication fails to run with gslrbaReplBind::Repl bind failed.

oidrepld00.log shows:

oidrepld: Release 10.1.2.1.0 - Production on mon jun 26 16:49:21 2006

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

2006/06/26:16:49:21 * Starting OIDREPLD against oraldap2:636...
2006/06/26:16:49:23 * gslrbaReplBind::Repl bind failed at oraldap1.oracle.com:389,dn=cn=replication dn,orclreplicaid=oraldap2_oid2,cn=replication configuration:Err=Invalid credentials
2006/06/26:16:49:25 * gslrbaReplBind::Repl bind failed at oraldap1:636,dn=cn=replication dn,orclreplicaid=oraldap2_oid2,cn=replication configuration:Err=Invalid credentials
2006/06/26:16:49:25 * gslrbaReplBind::Failure, ReplicaId=oraldap1_oid1
2006/06/26:16:49:25 * Failed binding to supplier(oraldap1_oid1) to init LDAP namectx of 000002.
2006/06/26:16:49:25 * Failure when reading Argmts of local Replica(oraldap2_oid2)
2006/06/26:16:49:25 * Failed to read replication configuration information.

remtool.log shows Invalid Credentials error when binding to the master node i.e:

2006/05/29:13:09:02 * ldap://oraldap1:636 [oraldap1_oid1] : Adding entry
orclagreementid=000002,orclreplicaid=oraldap1_oid1,cn=replication configuration...
2006/05/29:13:09:02 * ldap://oraldap1:636 [oraldap1_oid1] : Adding entry cn=replication
namecontext,orclagreementid=000002,orclreplicaid=oraldap1_oid1,cn=replication configuration...
2006/05/29:13:09:02 * ldap://oraldap2:636 [oraldap2_oid2] : Adding entry
orclagreementid=000002,orclreplicaid=oraldap1_oid1,cn=replication configuration...
2006/05/29:13:09:02 * ldap://oraldap2:636 [oraldap2_oid2] : Adding entry cn=replication namecontext,orclagreementid=000002,orclreplicaid=oraldap1_oid1,cn=replication configuration...
2006/05/29:13:09:04 * gslrbaReplBind::Repl bind failed at oraldap1:636,dn=cn=replicationdn:Err=Invalid credentials
2006/05/29:13:09:04 * gslrbaReplBind::Failure, host=oraldap1, port=636
....
2006/07/05:09:43:49 * Replica ldap://oraldap2:636 has been successfully added to replica ldap://oraldap1:636
2006/07/05:09:43:49 * Remtool exiting with status 0.
2006/07/05:09:43:49 *

ldapsearch for the replication agreements on the master node shows that the replica agreements do not exist i.e.

ldapsearch -h oraldap1 -p 389 -D "cn=orcladmin" -w pwd -s sub -b "cn=replication configuration" "(objectclass=*)"

orclreplicaid=oraldap1_oid1,cn=replication configuration
seealso=cn=OID1,cn=OracleContext
objectclass=top
objectclass=orclreplicasubentry
orclreplicaid=oraldap1_oid1
orclreplicauri=ldap://oraldap1.oracle.com:389/

cn=replication dn,orclreplicaid=oraldap1_oid1,cn=replication configuration
objectclass=top
objectclass=subconfig
objectclass=orclapplicationentity
cn=replication dn
userpassword={SHA}mBVwftlzfn9LFZ0ad8coHwQNvz4=

.

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