[ https://issues.apache.org/jira/browse/AMBARI-9576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Beerbower updated AMBARI-9576: ---------------------------------- Attachment: AMBARI-9576.patch > LDAP Sync: Port and Protocol hard coded /usr/sbin/ambari-server.py > ------------------------------------------------------------------ > > Key: AMBARI-9576 > URL: https://issues.apache.org/jira/browse/AMBARI-9576 > Project: Ambari > Issue Type: Bug > Reporter: Tom Beerbower > Assignee: Tom Beerbower > Fix For: 2.0.0 > > Attachments: AMBARI-9576.patch > > > PROBLEM: User is unable to ldap sync with ambari server and LDAP SSL > configured. > It appears that /usr/sbin/ambari-server.py has the port of the api hard coded. > {code} > root@ml-ambari /var/log>ambari-server sync-ldap --all -v > Using python /usr/bin/python2.6 > Syncing with LDAP... > INFO: about to run command: ps -p 54735 > INFO: Loading properties from /etc/ambari-server/conf/ambari.properties > Enter Ambari Admin login: rayoung > Enter Ambari Admin password: > Syncing all. > Calling API /api/v1/ldap_sync_events : [{'Event': {'specs': > [{'principal_type': 'users', 'sync_type': 'all'}, {'principal_type': > 'groups', 'sync_type': 'all'}]}}] > ERROR: Exiting with exit code 1. > REASON: Sync event creation failed. Error details: <urlopen error [Errno 111] > Connection refused> > {code} > It can be worked around by manually editing ... > {code} > SERVER_API_PROTOCOL = 'http' > SERVER_API_PORT = '8080' > {code} > in the python script or by turning off SSL and restarting Ambari. -- This message was sent by Atlassian JIRA (v6.3.4#6332)