<div dir="ltr">The ipareplica-install.log file in attachment ... </div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-16 2:22 GMT+02:00 Rob Crittenden <span dir="ltr"><<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Rich Megginson wrote:<br>
> On 04/15/2015 02:58 PM, James James wrote:<br>
>> Nothing on the replica .. maybye a process on the master. How can I<br>
>> check that ?<br>
><br>
> I have no idea.  But it seems highly unlikely that a process on the<br>
> master is able to shutdown a process on the replica . . .<br>
><br>
> I would say that there is some problem with the ipa-replica-install not<br>
> properly checking the status - see below:<br>
><br>
>><br>
>> 2015-04-15 21:37 GMT+02:00 Rich Megginson <<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a><br>
</span>>> <mailto:<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>>>:<br>
<span class="">>><br>
>>     On 04/15/2015 12:43 PM, James James wrote:<br>
>>>     Here the log<br>
>>><br>
>>>     2015-04-15 18:58 GMT+02:00 Rich Megginson <<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a><br>
</span>>>>     <mailto:<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>>>:<br>
<span class="">>>><br>
>>>         On 04/15/2015 09:46 AM, James James wrote:<br>
>>>>         Hello,<br>
>>>><br>
>>>>         I have been looking to solve my problem but I 'm asking for<br>
>>>>         some help.<br>
>>>><br>
>>>>         The replication begins but cannot be completed ....<br>
>>>><br>
>>>>         I want to install a new fresh replica but I've always got<br>
>>>>         this error :<br>
>>>><br>
>>>>         [21/35]: configure dirsrv ccache<br>
>>>>           [22/35]: enable SASL mapping fallback<br>
>>>>           [23/35]: restarting directory server<br>
>>>>           [24/35]: setting up initial replication<br>
>>>>         Starting replication, please wait until this has completed.<br>
>>>>         Update in progress, 127 seconds elapsed<br>
>>>>         Update in progress yet not in progress<br>
>>>><br>
>>>>         Update in progress yet not in progress<br>
>>><br>
><br>
> in progress yet not in progress????  The error log below clearly shows<br>
> that replica init succeeded after 127 seconds.<br>
><br>
> IPA-ers - wasn't there some bug about checking replica status properly?<br>
><br>
<br>
</span>The loop looks at nsds5BeginReplicaRefresh, nsds5replicaUpdateInProgress<br>
and nsds5ReplicaLastInitStatus.<br>
<br>
It loops looking for nsds5BeginReplicaRefresh. If there is no value it<br>
prints "Update in progress, %d seconds elapsed". Once it gets a status,<br>
the update is done, and it looks at nsds5ReplicaLastInitStatus. If it<br>
isn't empty, doesn't include 'replica busy' or 'Total update succeeded'<br>
then it looks to see if nsds5replicaUpdateInProgress is TRUE. If it is,<br>
ir prints Update in progress yet not in progress and tries the loop again.<br>
<br>
AFAICT this part of a replica install doesn't restart 389-ds.<br>
<br>
/var/log/ipareplica-install.log may hold some details.<br>
<span class="HOEnZb"><font color="#888888"><br>
rob<br>
<br>
</font></span></blockquote></div><br></div>