<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 04/01/2014 03:46 AM, Nevada Sanchez
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPUVn2uF_a6MQhDPJ-C-zwCmfsq6CXOeD69PqmKFx1B9EL-yiA@mail.gmail.com"
      type="cite">
      <div dir="ltr">I've had a replica working with FreeIPA 3.2.1 for
        awhile. After upgrading to 3.3.4, the replica wouldn't recognize
        my admin login anymore. After much troubleshooting, I decided to
        try to redo the replica since it was quite straightforward when
        I first set it up (what could go wrong, right?)</div>
    </blockquote>
    What is your version of 389-ds-base?  rpm -q 389-ds-base<br>
    <br>
    What is in your dirsrv errors log? 
    /var/log/dirsrv/slapd-DOMAIN-TLD/errors<br>
    <br>
    <blockquote
cite="mid:CAPUVn2uF_a6MQhDPJ-C-zwCmfsq6CXOeD69PqmKFx1B9EL-yiA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <br>
        </div>
        <div>Unfortunately, I've spent most of my day trying to get the
          replica to work this time. I've tried turning off all
          firewalls on both machines, rebooting both machines, upgrading
          all packages on both machines (both are running Fedora 19),
          reinstalling FreeIPA packages, and several other things, but I
          keep getting stuck at the same step (see output below).</div>
        <div><br>
        </div>
        <div>=================================================================</div>
        <div>
          <div>
            <div>[root@ipa2 ipaserver]# ipa-replica-install --setup-dns
              --no-forwarders
              /var/lib/ipa/replica-info-ipa2.example.com.gpg</div>
            <div>WARNING: conflicting time&date synchronization
              service 'chronyd' will</div>
            <div>be disabled in favor of ntpd</div>
            <div><br>
            </div>
            <div>Run connection check to master</div>
            <div>Check connection from replica to remote master '<a
                moz-do-not-send="true" href="http://ipa.example.com">ipa.example.com</a>':</div>
            <div>   Directory Service: Unsecure port (389): OK</div>
            <div>   Directory Service: Secure port (636): OK</div>
            <div>   Kerberos KDC: TCP (88): OK</div>
            <div>   Kerberos Kpasswd: TCP (464): OK</div>
            <div>   HTTP Server: Unsecure port (80): OK</div>
            <div>   HTTP Server: Secure port (443): OK</div>
            <div><br>
            </div>
            <div>The following list of ports use UDP protocol and would
              need to be</div>
            <div>checked manually:</div>
            <div>   Kerberos KDC: UDP (88): SKIPPED</div>
            <div>   Kerberos Kpasswd: UDP (464): SKIPPED</div>
            <div><br>
            </div>
            <div>Connection from replica to master is OK.</div>
            <div>Start listening on required ports for remote master
              check</div>
            <div>Get credentials to log in to remote master</div>
            <div>Check SSH connection to remote master</div>
            <div>Execute check on remote master</div>
            <div>Check connection from master to remote replica '<a
                moz-do-not-send="true" href="http://ipa2.example.com">ipa2.example.com</a>':</div>
            <div>   Directory Service: Unsecure port (389): OK</div>
            <div>
                 Directory Service: Secure port (636): OK</div>
            <div>   Kerberos KDC: TCP (88): OK</div>
            <div>   Kerberos KDC: UDP (88): OK</div>
            <div>   Kerberos Kpasswd: TCP (464): OK</div>
            <div>   Kerberos Kpasswd: UDP (464): OK</div>
            <div>
                 HTTP Server: Unsecure port (80): OK</div>
            <div>   HTTP Server: Secure port (443): OK</div>
            <div><br>
            </div>
            <div>Connection from master to replica is OK.</div>
            <div><br>
            </div>
            <div>Connection check OK</div>
            <div>Configuring NTP daemon (ntpd)</div>
            <div>  [1/4]: stopping ntpd</div>
            <div>  [2/4]: writing configuration</div>
            <div>  [3/4]: configuring ntpd to start on boot</div>
            <div>  [4/4]: starting ntpd</div>
            <div>Done configuring NTP daemon (ntpd).</div>
            <div>Configuring directory server (dirsrv): Estimated time 1
              minute</div>
            <div>  [1/34]: creating directory server user</div>
            <div>  [2/34]: creating directory server instance</div>
            <div>  [3/34]: adding default schema</div>
            <div>  [4/34]: enabling memberof plugin</div>
            <div>  [5/34]: enabling winsync plugin</div>
            <div>  [6/34]: configuring replication version plugin</div>
            <div>  [7/34]: enabling IPA enrollment plugin</div>
            <div>  [8/34]: enabling ldapi</div>
            <div>  [9/34]: configuring uniqueness plugin</div>
            <div>  [10/34]: configuring uuid plugin</div>
            <div>  [11/34]: configuring modrdn plugin</div>
            <div>  [12/34]: configuring DNS plugin</div>
            <div>  [13/34]: enabling entryUSN plugin</div>
            <div>  [14/34]: configuring lockout plugin</div>
            <div>  [15/34]: creating indices</div>
            <div>  [16/34]: enabling referential integrity plugin</div>
            <div>  [17/34]: configuring ssl for ds instance</div>
            <div>  [18/34]: configuring certmap.conf</div>
            <div>  [19/34]: configure autobind for root</div>
            <div>  [20/34]: configure new location for managed entries</div>
            <div>  [21/34]: configure dirsrv ccache</div>
            <div>  [22/34]: enable SASL mapping fallback</div>
            <div>  [23/34]: restarting directory server</div>
            <div>  [24/34]: setting up initial replication</div>
            <div>Starting replication, please wait until this has
              completed.</div>
            <div>Update in progress, 5 seconds elapsed</div>
            <div>[<a moz-do-not-send="true"
                href="http://ipa.example.com">ipa.example.com</a>]
              reports: Update failed! Status: [-1 Total update
              abortedLDAP error: Can't contact LDAP server]</div>
          </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>Failed to start replication</div>
        </div>
        <div>=================================================================</div>
        <div><br>
        </div>
        <div>I've confirmed that I can do ldapsearch from each machine
          to the other one for the replica status records (through ldap
          and ldaps), so I know that they can communicate. Trouble is,
          something behind the scenes is throwing the status error (as
          seen in the nsds5ReplicaLastInitStatus attribute).</div>
        <div><br>
        </div>
        <div>=================================================================</div>
        <div>
          <div>[root@ipa2 ipaserver]# ldapsearch  <a class="moz-txt-link-freetext" href="ldaps://">ldaps://</a><a
              moz-do-not-send="true" href="http://ipa.example.com:636">ipa.example.com:636</a>
            -D 'cn=Directory Manager' -w ##### -b 'cn=<a
              moz-do-not-send="true" href="http://meToipa2.example.com">meToipa2.example.com</a>,cn=replica,cn=dc\=example\,dc\=com,cn=mapping
            tree,cn=config' '(objectClass=*)' -s base
            nsds5ReplicaLastInitStart nsds5replicaUpdateInProgress
            nsds5ReplicaLastInitStatus cn nsds5BeginReplicaRefresh
            nsds5ReplicaLastInitEnd</div>
          <div># extended LDIF</div>
          <div>#</div>
          <div># LDAPv3</div>
          <div># base <cn=<a moz-do-not-send="true"
              href="http://meToipa2.example.com">meToipa2.example.com</a>,cn=replica,cn=dc\=example\,dc\=com,cn=mapping
            tree,cn=config> with scope baseObject</div>
          <div># filter: (objectclass=*)</div>
          <div># requesting: <a class="moz-txt-link-freetext" href="ldaps://">ldaps://</a><a moz-do-not-send="true"
              href="http://ipa.example.com:636">ipa.example.com:636</a>
            (objectClass=*) nsds5ReplicaLastInitStart
            nsds5replicaUpdateInProgress nsds5ReplicaLastInitStatus cn
            nsds5BeginReplicaRefresh nsds5ReplicaLastInitEnd </div>
          <div>#</div>
          <div><br>
          </div>
          <div># <a moz-do-not-send="true"
              href="http://meToipa2.example.com">meToipa2.example.com</a>,
            replica, dc\3Dexample\2Cdc\3Dcom,</div>
          <div>  mapping tree, config</div>
          <div>dn: cn=<a moz-do-not-send="true"
              href="http://meToipa2.example.com">meToipa2.example.com</a>,cn=replica,cn=dc\3Dexample\2Cd</div>
          <div> c\3Dcom,cn=mapping tree,cn=config</div>
          <div>nsds5ReplicaLastInitStart: 20140401092800Z</div>
          <div>nsds5replicaUpdateInProgress: FALSE</div>
          <div>nsds5ReplicaLastInitStatus: -1 Total update abortedLDAP
            error: Can't contact L</div>
          <div> DAP server</div>
          <div>cn: <a moz-do-not-send="true"
              href="http://meToipa2.example.com">meToipa2.example.com</a></div>
          <div>nsds5ReplicaLastInitEnd: 20140401092804Z</div>
          <div><br>
          </div>
          <div># search result</div>
          <div>search: 2</div>
          <div>result: 0 Success</div>
          <div><br>
          </div>
          <div># numResponses: 2</div>
          <div># numEntries: 1</div>
        </div>
        <div>=================================================================</div>
        <div><br>
        </div>
        <div>I'd really love for someone to help out with this, as I
          can't afford another entire night trying to figure this out.
          Thanks in advance!</div>
        <div><br>
        </div>
        <div>-Nevada</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Freeipa-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-users">https://www.redhat.com/mailman/listinfo/freeipa-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>