<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/15/2015 02:58 PM, James James
wrote:<br>
</div>
<blockquote
cite="mid:CALBJVV=76-Bi4J6NwJnknzx7V9sm5R4hh6erAkY_-kAFV7_TLQ@mail.gmail.com"
type="cite">
<div dir="ltr">Nothing on the replica .. maybye a process on the
master. How can I check that ?<br>
</div>
</blockquote>
<br>
I have no idea. But it seems highly unlikely that a process on the
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 properly checking the status - see below:<br>
<br>
<blockquote
cite="mid:CALBJVV=76-Bi4J6NwJnknzx7V9sm5R4hh6erAkY_-kAFV7_TLQ@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-04-15 21:37 GMT+02:00 Rich
Megginson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div class="h5">
<div>On 04/15/2015 12:43 PM, James James wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Here the log <br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-04-15 18:58
GMT+02:00 Rich Megginson <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:rmeggins@redhat.com"
target="_blank">rmeggins@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span>
<div>On 04/15/2015 09:46 AM, James James
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>Hello,<br>
<br>
</div>
I have been looking to solve my
problem but I 'm asking for some
help.<br>
<br>
</div>
<div>The replication begins but
cannot be completed ....<br>
</div>
<div><br>
</div>
I want to install a new fresh
replica but I've always got 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>
</div>
</div>
</blockquote>
</span></div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
in progress yet not in progress???? The error log below clearly
shows that replica init succeeded after 127 seconds.<br>
<br>
IPA-ers - wasn't there some bug about checking replica status
properly?<br>
<br>
<blockquote
cite="mid:CALBJVV=76-Bi4J6NwJnknzx7V9sm5R4hh6erAkY_-kAFV7_TLQ@mail.gmail.com"
type="cite">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div class="h5">
<blockquote type="cite">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span>
<blockquote type="cite">
<div dir="ltr">
<div> <br>
[<a moz-do-not-send="true"
href="http://ipa.example.com"
target="_blank">ipa.example.com</a>]
reports: Update failed! Status: [10
Total update abortedLDAP error:
Referral]<br>
<br>
[error] RuntimeError: Failed to
start replication<br>
<br>
Your system may be partly
configured.<br>
Run /usr/sbin/ipa-server-install
--uninstall to clean up.<br>
<br>
Failed to start replication<br>
<br>
<br>
</div>
On the master I have this message : <br>
15/Apr/2015:15:57:37 +0200]
NSMMReplicationPlugin - CleanAllRUV
Task: Successfully cleaned rid(19).<br>
[15/Apr/2015:17:06:32 +0200]
NSMMReplicationPlugin - agmt="cn=<a
moz-do-not-send="true"
href="http://meToipa1.example.com"
target="_blank">meToipa1.example.com</a>"
(ipa1:389): Replica has a different
generation ID than the local data.<br>
[15/Apr/2015:17:06:33 +0200]
NSMMReplicationPlugin - Beginning
total update of replica "agmt="cn=<a
moz-do-not-send="true"
href="http://meToipa1.example.com"
target="_blank">meToipa1.example.com</a>"
(ipa1:389)".<br>
</div>
</blockquote>
<br>
</span> What is happening on the consumer (<a
moz-do-not-send="true"
href="http://ipa1.example.com"
target="_blank">ipa1.example.com</a>)
error and access log at this time?<span><br>
</span></div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</div>
</div>
[15/Apr/2015:17:06:33 +0200] NSMMReplicationPlugin -
multimaster_be_state_change: replica
dc=lix,dc=polytechnique,dc=fr is going offline; disabling
replication<br>
[15/Apr/2015:17:06:33 +0200] - WARNING: Import is running
with nsslapd-db-private-import-mem on; No other process is
allowed to access the database<br>
[15/Apr/2015:17:06:53 +0200] - import userRoot: Processed
1399 entries -- average rate 70.0/sec, recent rate
69.9/sec, hit ratio 0%<br>
...<br>
[15/Apr/2015:17:08:39 +0200] - import userRoot: Import
complete. Processed 1539 entries in 126 seconds. (12.21
entries/sec)<br>
[15/Apr/2015:17:08:39 +0200] NSMMReplicationPlugin -
multimaster_be_state_change: replica
dc=lix,dc=polytechnique,dc=fr is coming online; enabling
replication<br>
<br>
So it would appear that initialization finished
successfully. But then . . .<span class=""><br>
<br>
<blockquote type="cite">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span> <br>
<blockquote type="cite">
<div dir="ltr">[15/Apr/2015:17:41:25
+0200] NSMMReplicationPlugin - agmt="cn=<a
moz-do-not-send="true"
href="http://meToipa1.example.com"
target="_blank">meToipa1.example.com</a>"
(ipa1:389): Unable to receive the
response for a startReplication extended
operation to consumer (Can't contact
LDAP server). Will retry later.<br>
</div>
</blockquote>
</span></div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</span> [15/Apr/2015:17:41:16 +0200] - slapd shutting down
- freed 1 work q stack objects - freed 2 op stack objects<br>
[15/Apr/2015:17:41:16 +0200] - slapd stopped.<br>
<br>
So the server is down. Did someone or some process
shutdown the replica at this time?<span class=""><br>
<br>
<blockquote type="cite">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span>
<blockquote type="cite">
<div dir="ltr"> [15/Apr/2015:17:41:29
+0200] slapi_ldap_bind - Error: could
not send startTLS request: error -1
(Can't contact LDAP server) errno 107
(Transport endpoint is not connected)<br>
<br>
<div>Any hints will be useful.<br>
<br>
</div>
<div>Thanks.<br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</span></div>
<br>
--<br>
Manage your subscription for the Freeipa-users
mailing list:<br>
<a moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/freeipa-users"
target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
Go to <a moz-do-not-send="true"
href="http://freeipa.org" target="_blank">http://freeipa.org</a>
for more info on the project<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>