<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Debug output is attached as well.</span></div><div><span><br></span></div><div><span>....</span></div><div><span><div>root        : DEBUG      [21/29]: setting up initial replication</div><div>  [21/29]: setting up initial replication</div><div>root        : DEBUG    args=/sbin/service dirsrv restart JIGSAW-COM</div><div>root        : DEBUG    stdout=Shutting down dirsrv: </div><div>    JIGSAW-COM...                                          [  OK  ]</div><div>Starting dirsrv: </div><div>    JIGSAW-COM...                    
                      [  OK  ]</div><div><br></div><div>root        : DEBUG    stderr=</div><div>Starting replication, please wait until this has completed.</div><div>[ipamaster.qe9.jigsaw.com] reports: Update failed! Status: [49  - LDAP error: Invalid credentials]</div><div>creation of replica failed: Failed to start replication</div><div>root        : DEBUG    Failed to start replication</div><div>  File "/usr/sbin/ipa-replica-install", line 482, in <module></div><div>    main()</div><div><br></div><div>  File "/usr/sbin/ipa-replica-install", line 433, in main</div><div>    ds = install_replica_ds(config)</div><div><br></div><div>  File "/usr/sbin/ipa-replica-install", line 135, in install_replica_ds</div><div>    pkcs12_info)</div><div><br></div><div>  File
 "/usr/lib/python2.6/site-packages/ipaserver/install/dsinstance.py", line 284, in create_replica</div><div>    self.start_creation("Configuring directory server", 60)</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/ipaserver/install/service.py", line 248, in start_creation</div><div>    method()</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/ipaserver/install/dsinstance.py", line 297, in __setup_replica</div><div>    r_bindpw=self.dm_password)</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/ipaserver/install/replication.py", line 694, in setup_replication</div><div>    raise RuntimeError("Failed to start replication")</div><div><br></div><div><br></div><div>Your system may be partly configured.</div><div>Run /usr/sbin/ipa-server-install --uninstall to clean up.</div><div><br></div><div><br></div><div>--Guolin</div></span></div><div><br></div> 
 <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> David Copperfield <cao2dan@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "freeipa-users@redhat.com" <freeipa-users@redhat.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, May 7, 2012 8:38 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> IPA replica server rebuilding failed with 'Invalid credentials' error.<br> </font> </div> <br>
<div id="yiv950833672"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div>I have a IPA replica server with disk problems, and then it is reimaged and rebuild. But when the IPA replica function is rebuilt, it reports the following problem:</div><div><br></div><div>[root@ipareplica02 ipa]# ipa-replica-install --no-ntp /var/lib/ipa/replica-info-ipareplica02.example.com.gpg<br></div><div>...</div><div><div>  [21/29]: setting up initial replication</div><div>Starting replication, please wait until this has completed.</div><div>[<a target="_blank" href="http://ipamaster.example.com">ipamaster.example.com</a>] reports: Update failed! Status: [49  - LDAP error: Invalid credentials]</div><div>...</div><div><br></div><div>Before I run the replica rebuilding step on IPA replica, I already run 'ipa-replica-manage disconn <a target="_blank"
 href="http://ipareplica01.example.com">ipareplica01.example.com</a>' on IPA master, and delete the host entry for ipareplica02 as well.</div><div><br></div><div>Did I missed any
 steps above? Please help. Thanks.</div><div><br></div><div><br></div><div>--David</div></div></div></div></div><br><br> </div> </div>  </div></body></html>