<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 05/12/2016 05:28 AM, Prasun Gera
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFLz+Bm0NmRG3z+B1_qe28cS9R2Z7_9U6NGVhc1nYOHUzJJs+A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi everyone,
        <div>I had a pretty similar failure on my replica yesterday. The
          replica was not reachable, and I asked someone to have a look
          at the system. They presumably rebooted it. When it came back
          up, ipactl wouldn't start, and the symptoms were pretty
          similar to those described in this thread. I followed the
          solution of copying dse.ldif.startOK to dse.ldif, and that
          started everything. </div>
      </div>
    </blockquote>
    This is very strange, it should not be possible to loose a dse.ldif,
    although you are now teh second person reporting this. I have seen 0
    length dse.ldif.tmp if a VM was powerd off while ds was active, but
    from DS  point of view it is not possible to complete loos the
    dse.ldif. <br>
    The dse.ldif stores the configuration information including
    replication agreements and and when ever this is updated the new
    state is written to disk. The procedure is like this:<br>
    -create a dse.ldif.tmp (this is the only time a 0 byte dse.ldif*
    file exists<br>
    -write the config to dse.ldif.tmp<br>
    -rename dse.ldif to dse.ldif.bak<br>
    -rename dse.ldif.tmp to dse.ldif<br>
    <br>
    So, if the machine or the server crashes during this process there
    should be always a dse.ldif.tmp or dse.ldif.bak containing the
    current or latest information. If anyone has an idea how on a VM
    when powering it off can completely loose these files I would like
    to know.<br>
    <blockquote
cite="mid:CAFLz+Bm0NmRG3z+B1_qe28cS9R2Z7_9U6NGVhc1nYOHUzJJs+A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>However, I see some errors in dirsrv's logs. It is
          constantly printing lines like "DSRetroclPlugin -
          delete_changerecord: could not delete change record 418295".
          Is that normal ? </div>
      </div>
    </blockquote>
    Unfortunately it can be. If after a crash the beginning of the retro
    cl is incorrectly calculated, changelog trimming might try to remov
    no longer existing records, it is annoying but harmless, so far we
    have not further investigated how to prevent this.<br>
    <blockquote
cite="mid:CAFLz+Bm0NmRG3z+B1_qe28cS9R2Z7_9U6NGVhc1nYOHUzJJs+A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>How do I confirm that the replica is back and fully
          functional ? Why did this happen in the first place ?</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Apr 27, 2016 at 1:41 PM, Gady
          Notrica <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:gnotrica@candeal.com" target="_blank">gnotrica@candeal.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">All
            good!!!<br>
            <span class="im HOEnZb"><br>
              Gady<br>
              <br>
              -----Original Message-----<br>
              From: Alexander Bokovoy [mailto:<a moz-do-not-send="true"
                href="mailto:abokovoy@redhat.com">abokovoy@redhat.com</a>]<br>
            </span><span class="im HOEnZb">Sent: April 27, 2016 1:19 PM<br>
              To: Gady Notrica<br>
              Cc: Ludwig Krispenz; <a moz-do-not-send="true"
                href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a><br>
              Subject: Re: [Freeipa-users] krb5kdc service not starting<br>
              <br>
            </span>
            <div class="HOEnZb">
              <div class="h5">On Wed, 27 Apr 2016, Gady Notrica wrote:<br>
                >Hello Ludwig,<br>
                ><br>
                >Is there a reason why my AD show offline?<br>
                ><br>
                >[root@cd-p-ipa1 /]# wbinfo --online-status BUILTIN :
                online IPA :<br>
                >online CD-PRD : offline<br>
                wbinfo output is irrelevant for RHEL 7.2-based IPA
                trusts.<br>
                <br>
                You need to make sure that 'getent passwd
                CD-PRD\\Administrator'<br>
                resolves via SSSD.<br>
                <br>
                --<br>
                / Alexander Bokovoy<br>
                <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"
                  rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
                Go to <a moz-do-not-send="true"
                  href="http://freeipa.org" rel="noreferrer"
                  target="_blank">http://freeipa.org</a> for more info
                on the project<br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Red Hat GmbH, <a class="moz-txt-link-freetext" href="http://www.de.redhat.com/">http://www.de.redhat.com/</a>, Registered seat: Grasbrunn, 
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill</pre>
  </body>
</html>