ForgeRock Identity Platform
Does not apply to Identity Cloud

Replication error in DS (All versions) indicates same ServerId

Last updated Jan 12, 2023

The purpose of this article is to provide assistance if you encounter a "same ServerId" replication error in DS.


The following error is shown on a DS replication server (in the Errors and Replication logs):

[21/Mar/2017:11:43:29 -0500] category=SYNC severity=SEVERE_ERROR msgID=10 msg=In Replication server Replication Server 8989 18989: replication servers and have the same ServerId : 12345

Recent Changes



This error can occur if you cloned the configuration from one replication server to another; however, the most common reason is having multiple IP addresses.

For example, in the scenario where replication server (server1) is on a host that has two IP addresses ( and and connects to another replication server (server2), this error would be logged on server2 if server1 connected to it via a different IP address than the one used when configuring replication initially.

This issue is considered a severe error because it suggests that a fundamental aspect of the replication topology is being violated; namely, that every server in the topology has a unique server ID.


This issue can be resolved by configuring the source-address property on your replication servers to just one of the interfaces; you should choose the one that is configured with the FQDN being used in the replication setup. That way you should get connections coming consistently from the correct address.

You can use the dsconfig command to make the appropriate change. For example, the following command configures the server at to only make outbound replication connections from the NIC with the address

  • DS 7.1 and later: $ ./dsconfig set-synchronization-provider-prop --provider-name "Multimaster Synchronization" --set --hostname --port 4444 --bindDN uid=admin --bindPassword password --usePkcs12TrustStore /path/to/ds/config/keystore --trustStorePassword:file /path/to/ds/config/ --no-prompt
  • DS 7: $ ./dsconfig set-synchronization-provider-prop --provider-name "Multimaster Synchronization" --set --hostname --port 4444 --bindDN uid=admin --bindPassword password --usePkcs12TrustStore /path/to/ds/config/keystore --trustStorePasswordFile /path/to/ds/config/ --no-prompt
  • DS 6.x: $ ./dsconfig set-replication-server-prop --provider-name "Multimaster Synchronization" --set --hostname --port 4444 --bindDN "cn=Directory Manager" --bindPassword password --trustAll --no-prompt

See Also


Related Training


Related Issue Tracker IDs

OPENDJ-4221 (same server ID for replication servers)

OPENDJ-567 (Better support for replication on multi-homed servers)

Copyright and Trademarks Copyright © 2023 ForgeRock, all rights reserved.