Changing a Red Hat Directory Server replica role "read only"/hub/master and error "replica id in the state - 65535"

Solution Verified - Updated -

Issue

I modified the configuration of a Red Hat Directory Server instance to change the replica role from, for example, a read only replica / consumer to a hub or a master using the Directory Server console like described in the documentation, Administration Guide in chapter "11.10. Making a Read-Only Replica Updatable".
The initial conversion seem to work, but after the Directory Server instance is restarted, replication is failing with the following error:

[26/Jun/2014:14:22:44 +0100] - _csngen_parse_state: replica id mismatch; current id - 1, replica id in the state - 65535
[26/Jun/2014:14:22:44 +0100] NSMMReplicationPlugin - _replica_init_from_config: failed to create csn generator for replica (cn=replica,cn=dc\5c3Dexample\5c2Cdc\5c3Dcom,cn=mapping tree,cn=config)
[26/Jun/2014:14:22:44 +0100] NSMMReplicationPlugin - Unable to configure replica dc=example,dc=com: failed to create csn generator for replica (cn=replica,cn=dc\5c3Dexample\5c2Cdc\5c3Dcom,cn=mapping tree,cn=config)

Environment

Red Hat Directory Server versions 8 and 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content