Tagged: #openDJ, replication server
This topic has 4 replies, 3 voices, and was last updated 2 years, 8 months ago by Rob Matthews.
-
AuthorPosts
-
July 10, 2018 at 10:12 am #22488
srinath.m
ParticipantHi All,
Iam getting the below error on reconciliation from OpenIDM to OpenDJ.
Here is the error from audit/recon.csv
Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 – The Replication is configured for suffix dc=test,dc=group but was not able to connect to any Replication Server]; remaining name ‘[email protected],ou=external,ou=users,dc=test,dc=group’
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:811)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:337)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:266)
at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:202)
at org.identityconnectors.ldap.modify.LdapCreate.doCreate(LdapCreate.java:212)
… 79 more
“,”default”,”managedUser_sourceLdapopendjAccount”,”Operation CREATE failed with ConnectorException on system object: [email protected],ou=external,ou=users,dc=test,dc=group. Root cause: [LDAP: error code 53 – The Replication is configured for suffix dc=test,dc=group but was not able to connect to any Replication Server]”,”{“”code””:500,””reason””:””Internal Server Error””,””message””:””Operation CREATE failed with ConnectorException on system object: [email protected],ou=external,ou=users,dc=test,dc=group””}”,”ABSENT”,”managed/user/7df2c56e-5a9d-42ad-81bf-5ec9a50e9e5f”,”FAILURE”,”system/LDAPOpenDJ/account/null”,”source”,,,”entry”,”fbd36ba3-d9f7-4b6e-80e9-e7abfb282fa9-3104″Here is the error from opendj replication logs
[10/Jul/2018:16:04:33 +0800] category=SYNC severity=INFORMATION msgID=org.opends.messages.replication.105 msg=Replication server accepted a connection from opendj2.example.com./10.201.16.101:53250 to local address 0.0.0.0/0.0.0.0:8989 but the SSL handshake failed. This is probably benign, but may indicate a transient network outage or a misconfigured client application connecting to this replication server. The error was: Remote host closed connection during handshake
Env details:
OpenDJ – 3.0
OpenIDM – 4.0
Any help on this would be appreciated.Thanks,
SrinathJuly 12, 2018 at 10:36 am #22514Rob Matthews
ParticipantHi Srinath,
By default DJ will not accept writes if it cannot connect to an RS. This is defined in the isolation-policy and is set this way to avoid a replicated environment having data divergence (directory entries being changed on one node and not being replicated or recorded in the local changelog). This suggests that your DJ instance is having issues, are there any errors in your error log relating to the changelog?
Thanks,
RobJuly 13, 2018 at 6:28 am #22546srinath.m
ParticipantThanks for the quick reply @robert-matthews. I have removed the changelogDb files and restarted both OpenDJ instances. With this the issue is resolved.
Thanks,
SrinathDecember 4, 2019 at 8:21 am #27222Anonymous
Inactive@srinath-m
Removing the changelog, is the right way to solve the problem?, we also faced similar issue, and replication status entry level is also not same in one of 3 instances.December 5, 2019 at 10:52 am #27228Rob Matthews
ParticipantOnly if you are seeing errors relating to reading files in the changelogDB, if your entry count is different on one instance this could be caused by a number of different issues, most commonly that instance was offline for longer than the purge delay so changes are not auto replayed, if that is the case then you can simply initialize from another instance. If the DS is failing to connect to any RS (including its own if it is a DS/RS) then you need to check for errors to see why it isn’t connecting, could it be disk space issues?
-
AuthorPosts
You must be logged in to reply to this topic.