Hi,

I'm trying to install some new IPA replicas but getting this installation error:
--------------------------------------------------------------------------------------------------------------------------
ipa         : DEBUG    importing plugin module 
'/usr/lib/python2.6/site-packages/ipaserver/install/plugins/rename_managed.py'
ipa         : DEBUG    importing plugin module 
'/usr/lib/python2.6/site-packages/ipaserver/install/plugins/update_anonymous_aci.py'
ipa         : DEBUG    importing plugin module 
'/usr/lib/python2.6/site-packages/ipaserver/install/plugins/update_services.py'
ipa         : DEBUG    importing plugin module 
'/usr/lib/python2.6/site-packages/ipaserver/install/plugins/updateclient.py'
ipa         : DEBUG    importing plugin module 
'/usr/lib/python2.6/site-packages/ipaserver/install/plugins/upload_cacrt.py'
ipa         : DEBUG    ds group dirsrv exists
ipa         : DEBUG    Saving StateFile to 
'/var/lib/ipa/sysrestore/sysrestore.state'
ipa         : INFO       File 
"/usr/lib/python2.6/site-packages/ipaserver/install/installutils.py", line 614, 
in run_script
    return_value = main_function()

  File "/usr/sbin/ipa-replica-install", line 458, in main
    if replman and replman.conn:

ipa         : INFO     The ipa-replica-install command failed, exception: 
UnboundLocalError: local variable 'replman' referenced before assignment

Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

Unexpected error - see /var/log/ipareplica-install.log for details:
UnboundLocalError: local variable 'replman' referenced before assignment
--------------------------------------------------------------------------------------------------------------------------


These are the relevant lines in "ipa-replica-install":
--------------------------------------------------------------------------------------------------------------------------
        except errors.NotFound:
            pass
        if found:
            sys.exit(3)
    except errors.ACIError:
        sys.exit("\nThe password provided is incorrect for LDAP server %s" % 
config.master_host_name)
    except errors.LDAPError:
        sys.exit("\nUnable to connect to LDAP server %s" % 
config.master_host_name)
    finally:
        if conn and conn.isconnected():
            conn.disconnect()
        if replman and replman.conn:
            replman.conn.unbind_s()
--------------------------------------------------------------------------------------------------------------------------


This is on a freshly installed and updated CentOS release 6.5 (Final) box 
running "2.6.32-431.20.3.el6.x86_64" kernel, SELinux disabled and with the 
following IPA packages:

ipa-pki-common-theme-9.0.3-7.el6.noarch
ipa-python-3.0.0-37.el6.x86_64
ipa-client-3.0.0-37.el6.x86_64
ipa-admintools-3.0.0-37.el6.x86_64
ipa-server-selinux-3.0.0-37.el6.x86_64
libipa_hbac-python-1.9.2-129.el6_5.4.x86_64
ipa-pki-ca-theme-9.0.3-7.el6.noarch
libipa_hbac-1.9.2-129.el6_5.4.x86_64
ipa-server-3.0.0-37.el6.x86_64
python-iniparse-0.3.1-2.1.el6.noarch


Any help/ideas much appreciated.

Regards,
Suhail Choudhury.
DevOps | Recommendations Team | BSkyB

Information in this email including any attachments may be privileged, 
confidential and is intended exclusively for the addressee. The views expressed 
may not be official policy, but the personal views of the originator. If you 
have received it in error, please notify the sender by return e-mail and delete 
it from your system. You should not reproduce, distribute, store, retransmit, 
use or disclose its contents to anyone. Please note we reserve the right to 
monitor all e-mail communication through our internal and external networks. 
SKY and the SKY marks are trademarks of British Sky Broadcasting Group plc and 
Sky International AG and are used under licence. British Sky Broadcasting 
Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration 
No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) 
are direct or indirect subsidiaries of British Sky Broadcasting Group plc 
(Registration No. 2247735). All of the companies mentioned in this paragraph 
are incorporated in England and Wales and share the same registered office at 
Grant Way, Isleworth, Middlesex TW7 5QD.
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project

Reply via email to