[Freeipa-users] Replica Creation Issue

Christian McNamara CTO at sshchicago.org
Wed Dec 14 14:27:46 UTC 2016


Hi all,

I recently inherited a FreeIPA system that I believe is running v3.0, and
I'm trying to upgrade to the latest version. Following documentation, I'm
trying to create a replica but I'm running into problems connecting to the
LDAP server. Here's the output I get when trying to prepare a replica:

$ sudo ipa-replica-prepare auth4.sshchicago.org --ip-address 172.31.31.36
Directory Manager (existing master) password:

Preparing replica for auth4.sshchicago.org from auth3.sshchicago.org
preparation of replica failed: cannot connect to u'ldaps://
auth3.sshchicago.org:

                          7390': LDAP Server Down
cannot connect to u'ldaps://auth3.sshchicago.org:7390': LDAP Server Down
  File "/usr/sbin/ipa-replica-prepare", line 529, in <module>
    main()

  File "/usr/sbin/ipa-replica-prepare", line 391, in main
    update_pki_admin_password(dirman_password)

  File "/usr/sbin/ipa-replica-prepare", line 247, in
update_pki_admin_password
    bind_pw=dirman_password

  File "/usr/lib/python2.6/site-packages/ipalib/backend.py", line 63, in
connect
    conn = self.create_connection(*args, **kw)

  File "/usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py", line
846,

           in create_connection
    self.handle_errors(e)

  File "/usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py", line
736,

           in handle_errors
    error=u'LDAP Server Down')


It says that our LDAP server is down, but it's trying to connect using the
wrong port number. Our LDAP server runs on 389, not 7390, and I can't
figure out how to specify this to the prepare script.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20161214/72bdf2c2/attachment.htm>


More information about the Freeipa-users mailing list