<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=884391414-14072011><FONT color=#0000ff 
size=2 face=Arial>Do a&nbsp;&nbsp;</FONT></SPAN><SPAN 
class=884391414-14072011><FONT color=#0000ff size=2 face=Arial>&nbsp;ldapsearch 
-b 'nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,dc=mydomain,dc=com' -D 
&lt;directory manager&gt; -w &lt;password&gt; -s base 
objectclass=nstombstone</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=884391414-14072011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=884391414-14072011><FONT color=#0000ff 
size=2 face=Arial>This gives you&nbsp;all the configured (history) of 
replication ids. The following is the output in my setup.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=884391414-14072011><FONT color=#0000ff 
size=2 face=Arial>&nbsp;</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>dn: 
nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,o=base<SPAN 
class=884391414-14072011></SPAN><BR>objectClass: top<BR>objectClass: 
nsTombstone<BR>objectClass: extensibleobject<BR>nsds50ruv: {replicageneration} 
4df7a107000000010000<BR>nsds50ruv: {replica 1 </FONT><A 
href="ldap://yale:389"><FONT size=2 face=Arial>ldap://yale:389</FONT></A><FONT 
color=#0000ff size=2 face=Arial>} 4df7a396000000010000 
4e19ad950000000100<BR>&nbsp;00<BR>nsds50ruv: {replica 3 </FONT><A 
href="ldap://norquay:389"><FONT size=2 
face=Arial>ldap://norquay:389</FONT></A><FONT color=#0000ff size=2 face=Arial>} 
4df7a39d000000030000 4e1605650000000<BR>&nbsp;30000<BR>nsds50ruv: {replica 4 
</FONT><A href="ldap://mustrum:389"><FONT size=2 
face=Arial>ldap://mustrum:389</FONT></A><FONT color=#0000ff size=2 face=Arial>} 
4df7a3a0000000040000 4dfb93650000000<BR>&nbsp;40000<BR>nsds50ruv: {replica 2 
</FONT><A href="ldap://louise:389"><FONT size=2 
face=Arial>ldap://louise:389</FONT></A><FONT color=#0000ff size=2 face=Arial>} 
4df7a39a000000020000 4e171a0700000002<BR>&nbsp;0000<BR></FONT><FONT 
color=#0000ff size=2 face=Arial>o:&nbsp;base<SPAN 
class=884391414-14072011></SPAN><BR>nsruvReplicaLastModified: {replica 1 
</FONT><A href="ldap://yale:389"><FONT size=2 
face=Arial>ldap://yale:389</FONT></A><FONT color=#0000ff size=2 face=Arial>} 
00000000<BR>nsruvReplicaLastModified: {replica 3 </FONT><A 
href="ldap://norquay:389"><FONT size=2 
face=Arial>ldap://norquay:389</FONT></A><FONT color=#0000ff size=2 face=Arial>} 
00000000<BR>nsruvReplicaLastModified: {replica 4 </FONT><A 
href="ldap://mustrum:389"><FONT size=2 
face=Arial>ldap://mustrum:389</FONT></A><FONT color=#0000ff size=2 face=Arial>} 
00000000<BR>nsruvReplicaLastModified: {replica 2 </FONT><A 
href="ldap://louise:389"><FONT size=2 
face=Arial>ldap://louise:389</FONT></A><FONT color=#0000ff size=2 face=Arial>} 
00000000</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN 
class=884391414-14072011>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/\ 
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN 
class=884391414-14072011>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN 
class=884391414-14072011>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
replication-id</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><SPAN class=884391414-14072011><FONT color=#0000ff size=2 face=Arial>I am 
pretty sure you have somewhere there a duplicate of 3</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><SPAN class=884391414-14072011><FONT color=#0000ff size=2 
face=Arial>-Reinhard</FONT></SPAN></DIV>
<DIV><BR><BR></DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> 389-users-bounces@lists.fedoraproject.org 
[mailto:389-users-bounces@lists.fedoraproject.org] <B>On Behalf Of </B>Roland 
Schwingel<BR><B>Sent:</B> Thursday, July 14, 2011 7:39 AM<BR><B>To:</B> General 
discussion list for the 389 Directory server project.<BR><B>Subject:</B> Re: 
[389-users] Replication trouble when promoting dedicated Consumer to Multiple 
master<BR></FONT><BR></DIV>
<DIV></DIV><FONT size=2 face=sans-serif>Hi Penedo...</FONT> <BR><BR><FONT size=2 
face=sans-serif>Thanks for your reply....</FONT> <BR><FONT size=2 
face=sans-serif>Yes.. I did that already a couple of times. I am always coming 
to the &nbsp;same error message...</FONT> <BR><BR><FONT size=2 
face=sans-serif>Roland</FONT> <BR><BR><BR><BR><FONT color=#5f5f5f size=1 
face=sans-serif>From: &nbsp; &nbsp; &nbsp; &nbsp;</FONT><FONT size=1 
face=sans-serif>Penedo &lt;penedo@gmail.com&gt;</FONT> <BR><FONT color=#5f5f5f 
size=1 face=sans-serif>To: &nbsp; &nbsp; &nbsp; &nbsp;</FONT><FONT size=1 
face=sans-serif>"General discussion list for the 389 Directory server project." 
&lt;389-users@lists.fedoraproject.org&gt;</FONT> <BR><FONT color=#5f5f5f size=1 
face=sans-serif>Date: &nbsp; &nbsp; &nbsp; &nbsp;</FONT><FONT size=1 
face=sans-serif>14.07.2011 13:08</FONT> <BR><FONT color=#5f5f5f size=1 
face=sans-serif>Subject: &nbsp; &nbsp; &nbsp; &nbsp;</FONT><FONT size=1 
face=sans-serif>Re: [389-users] Replication trouble when promoting dedicated 
Consumer to Multiple master</FONT> <BR><FONT color=#5f5f5f size=1 
face=sans-serif>Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</FONT><FONT size=1 
face=sans-serif>389-users-bounces@lists.fedoraproject.org</FONT> <BR>
<HR noShade>
<BR><BR><BR><FONT size=3>I'm far from being an expert but have you considered 
clearing the existing replication agreements and following the instructions for 
setting up multi-master from scratch? </FONT>
<P><FONT size=3>On Jul 13, 2011 5:44 PM, "Roland Schwingel" &lt;</FONT><A 
href="mailto:Roland.Schwingel@onevision.com"><FONT color=blue 
size=3><U>Roland.Schwingel@onevision.com</U></FONT></A><FONT size=3>&gt; 
wrote:<BR>&gt; Hi...<BR>&gt; <BR>&gt; Since yesterday I got some replication 
trouble.<BR>&gt; <BR>&gt; My Scenario<BR>&gt; <BR>&gt; server A &lt; ----- 
server B &lt;-----&gt; server C <BR>&gt; -----&gt; server D<BR>&gt; (dedicated 
Consumer) (multiple Master replica ID:1) (multiple <BR>&gt; Master replica ID:2) 
(Dedicated Consumer)<BR>&gt; <BR>&gt; The arrows are depicting the replication 
directions.<BR>&gt; In that scenario everything is fine. <BR>&gt; <BR>&gt; But I 
want to promote server D to a multiple Master replicating from/to <BR>&gt; 
server C.<BR>&gt; <BR>&gt; On server D I enabled changelog and changed the 
Replica Role of userRoot <BR>&gt; to Multiple Master (now with replica id 
3)<BR>&gt; I created a replication aggrement to server C.<BR>&gt; <BR>&gt; When 
enabling that I see these error messages in error log on server D. At <BR>&gt; 
08:51:53 I enabled the replication agreement from server D to server C:<BR>&gt; 
<BR>&gt; [13/Jul/2011:08:49:41 +0200] - 389-Directory/1.2.5 B2010.120.1414 
starting <BR>&gt; up<BR>&gt; [13/Jul/2011:08:49:41 +0200] - slapd started. 
Listening on All Interfaces <BR>&gt; port 389 for LDAP requests<BR>&gt; 
[13/Jul/2011:08:49:41 +0200] - Listening on All Interfaces port 636 for <BR>&gt; 
LDAPS requests<BR>&gt; [13/Jul/2011:08:51:53 +0200] NSMMReplicationPlugin - 
<BR>&gt; repl_set_mtn_referrals: could not set referrals for replica <BR>&gt; 
dc=mydomain,dc=com: 32<BR>&gt; [13/Jul/2011:08:51:53 +0200] 
NSMMReplicationPlugin - <BR>&gt; multimaster_be_state_change: replica 
dc=mydomain,dc=com is going offline; <BR>&gt; disabling replication<BR>&gt; 
[13/Jul/2011:08:51:53 +0200] - WARNING: Import is running with <BR>&gt; 
nsslapd-db-private-import-mem on; No other process is allowed to access <BR>&gt; 
the database<BR>&gt; [13/Jul/2011:08:51:56 +0200] - import userRoot: Workers 
finished; cleaning <BR>&gt; up...<BR>&gt; [13/Jul/2011:08:51:57 +0200] - import 
userRoot: Workers cleaned up.<BR>&gt; [13/Jul/2011:08:51:57 +0200] - import 
userRoot: Indexing complete. <BR>&gt; Post-processing...<BR>&gt; 
[13/Jul/2011:08:51:57 +0200] - import userRoot: Flushing caches...<BR>&gt; 
[13/Jul/2011:08:51:57 +0200] - import userRoot: Closing files...<BR>&gt; 
[13/Jul/2011:08:51:59 +0200] - import userRoot: Import complete. Processed 
<BR>&gt; 772 entries in 5 seconds. (154.40 entries/sec)<BR>&gt; 
[13/Jul/2011:08:51:59 +0200] NSMMReplicationPlugin - <BR>&gt; 
multimaster_be_state_change: replica dc=mydomain,dc=com is coming online; 
<BR>&gt; enabling replication<BR>&gt; [13/Jul/2011:09:11:00 +0200] 
NSMMReplicationPlugin - <BR>&gt; agmt="cn=server-d_to_server-c" (server-c:389): 
Unable to aquire replica: <BR>&gt; the replica has the same Replica ID as this 
one. Replication is aborting.<BR>&gt; [13/Jul/2011:09:11:00 +0200] 
NSMMReplicationPlugin - <BR>&gt; agmt="cn=server-d_to_server-c" (server-c:389): 
Incremental update failed <BR>&gt; and requires administrator action<BR>&gt; 
<BR>&gt; It says that it has the same replica id, but this is not true. I 
assigned <BR>&gt; replica ID 3 to server-d and replica ID 2 to server-c<BR>&gt; 
<BR>&gt; from dse.ldif of server-d:<BR>&gt; dn: cn=replica,cn="dc=mydomain, 
dc=com",cn=mapping tree,cn=config<BR>&gt; objectClass: nsDS5Replica<BR>&gt; 
objectClass: top<BR>&gt; nsDS5ReplicaRoot: dc=mydomain, dc=com<BR>&gt; 
nsDS5ReplicaType: 3<BR>&gt; nsDS5Flags: 1<BR>&gt; nsds5ReplicaPurgeDelay: 
604800<BR>&gt; nsDS5ReplicaBindDN: cn=replication manager,cn=config<BR>&gt; cn: 
replica<BR>&gt; creatorsName: <BR>&gt; 
uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot<BR>&gt; 
modifiersName: <BR>&gt; 
uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo<BR>&gt; 
t<BR>&gt; createTimestamp: 20110713065052Z<BR>&gt; modifyTimestamp: 
20110713071007Z<BR>&gt; nsDS5ReplicaId: 3<BR>&gt; nsState:: 
//8AAExAHU4AAAAAAAAAAAEAAAA=<BR>&gt; nsDS5ReplicaName: 
6c5f7682-1dd211b2-abcfd815-dc8d0000<BR>&gt; numSubordinates: 1<BR>&gt; <BR>&gt; 
<BR>&gt; from dse.ldif if server-c:<BR>&gt; dn: cn=replica,cn="dc=mydomain, 
dc=com",cn=mapping tree,cn=config<BR>&gt; objectClass: nsDS5Replica<BR>&gt; 
objectClass: top<BR>&gt; nsDS5ReplicaRoot: dc=mydomain, dc=com<BR>&gt; 
nsDS5ReplicaType: 3<BR>&gt; nsDS5Flags: 1<BR>&gt; nsDS5ReplicaId: 2<BR>&gt; 
nsds5ReplicaPurgeDelay: 604800<BR>&gt; nsDS5ReplicaBindDN: cn=replication 
manager,cn=config<BR>&gt; cn: replica<BR>&gt; creatorsName: <BR>&gt; 
uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot<BR>&gt; 
modifiersName: cn=Multimaster Replication Plugin,cn=plugins,cn=config<BR>&gt; 
createTimestamp: 20101105122639Z<BR>&gt; modifyTimestamp: 
20110713073144Z<BR>&gt; nsState:: AgAAAMpJHU4AAAAAFgAAAAEAAAA=<BR>&gt; 
nsDS5ReplicaName: ee6ae602-1dd111b2-ae7bc446-6a0e0000<BR>&gt; numSubordinates: 
2<BR>&gt; <BR>&gt; I already erased and recreated the server-d for a couple of 
times. Always <BR>&gt; with the same error.<BR>&gt; I created an empty instance 
of server-d set it to be a dedicated consumer. <BR>&gt; Created 
replication<BR>&gt; aggrement from server-c to server-d. Initiliazed consumer 
(server-d). On <BR>&gt; server-d I enabled<BR>&gt; than changelog and changed 
replication role to multiple master and <BR>&gt; assigned replica id 3.<BR>&gt; 
I when I create the replication aggreement from server-d to server-c I get 
<BR>&gt; this error.<BR>&gt; <BR>&gt; What am I doing wrong? I did the same 
thing a while ago for server-b and <BR>&gt; server-c and there<BR>&gt; it worked 
without trouble. (server-b was initially the single master in my <BR>&gt; net 
before<BR>&gt; the other servers appeared).<BR>&gt; <BR>&gt; Thanks for your 
help,<BR>&gt; <BR>&gt; Roland</FONT><TT><FONT size=2>--<BR>389 users mailing 
list<BR>389-users@lists.fedoraproject.org<BR></FONT></TT><A 
href="https://admin.fedoraproject.org/mailman/listinfo/389-users"><TT><FONT 
size=2>https://admin.fedoraproject.org/mailman/listinfo/389-users</FONT></TT></A> 

<P></P></BODY></HTML>