My Oracle Support Banner

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

Last updated on OCTOBER 18, 2019

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 <OID_HOSTNAME>:<OID_PORT>...
2006/06/26:16:49:23 * gslrbaReplBind::Repl bind failed at <OID_HOSTNAME>:<OID_PORT>,dn=cn=replication dn,orclreplicaid=<REPLICA_ID2>,cn=replication configuration:Err=Invalid credentials
2006/06/26:16:49:25 * gslrbaReplBind::Repl bind failed at <OID_HOSTNAME>:<OID_PORT>,dn=cn=replication dn,orclreplicaid=<REPLICA_ID2>,cn=replication configuration:Err=Invalid credentials
2006/06/26:16:49:25 * gslrbaReplBind::Failure, ReplicaId=<REPLICA_ID1>
2006/06/26:16:49:25 * Failed binding to supplier(<REPLICA_ID1>) to init LDAP namectx of 000002.
2006/06/26:16:49:25 * Failure when reading Argmts of local Replica(<REPLICA_ID2>)
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://<OID_HOSTNAME>:<OID_PORT> [<REPLICA_ID1>] : Adding entry
orclagreementid=000002,orclreplicaid=<REPLICA_ID1>,cn=replication configuration...
2006/05/29:13:09:02 * ldap://<OID_HOSTNAME>:<OID_PORT> [<REPLICA_ID1>] : Adding entry cn=replication
namecontext,orclagreementid=000002,orclreplicaid=<REPLICA_ID1>,cn=replication configuration...
2006/05/29:13:09:02 * ldap://<OID2_HOSTNAME>:<OID_PORT> [<REPLICA_ID2>] : Adding entry
orclagreementid=000002,orclreplicaid=<REPLICA_ID1>,cn=replication configuration...
2006/05/29:13:09:02 * ldap://<OID2_HOSTNAME>:<OID_PORT> [<REPLICA_ID2>] : Adding entry cn=replication namecontext,orclagreementid=000002,orclreplicaid=<REPLICA_ID1>,cn=replication configuration...
2006/05/29:13:09:04 * gslrbaReplBind::Repl bind failed at <OID_HOSTNAME>:<OID_PORT>,dn=cn=replicationdn:Err=Invalid credentials
2006/05/29:13:09:04 * gslrbaReplBind::Failure, host=<HOSTNAME>, port=<PORT>
....
2006/07/05:09:43:49 * Replica ldap://<OID2_HOSTNAME>:<OID_PORT> has been successfully added to replica ldap://<OID2_HOSTNAME>:<OID_PORT>
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 <HOSTNAME> -p <PORT> -D "cn=orcladmin" -w <PASSWORD> -s sub -b "cn=replication configuration" "(objectclass=*)"

orclreplicaid=<REPLICA_ID1>,cn=replication configuration
seealso=cn=OID1,cn=OracleContext
objectclass=top
objectclass=orclreplicasubentry
orclreplicaid=<REPLICA_ID1>
orclreplicauri=ldap://<OID_HOSTNAME>:<OID_PORT>/

cn=replication dn,orclreplicaid=<REPLICA_ID1>,cn=replication configuration
objectclass=top
objectclass=subconfig
objectclass=orclapplicationentity
cn=replication dn
userpassword={SHA}<ENCRYPTED PASSWORD>

.

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.