Registration with the server failed.

这是我遇到的同样问题。

安装Ambari到Confirm Hosts这步过不去了!

点击红色“Failed”,查看详细错误:
Verifying Python version compatibility...  
Using python  /usr/bin/python2.6  
Found ambari-agent PID: 17547  
Stopping ambari-agent  
Removing PID file at /var/run/ambari-agent/ambari-agent.pid  
ambari-agent successfully stopped  
('INFO 2016-11-09 00:25:14,695 NetUtil.py:60 - Connecting to https://master:8440/ca  
ERROR 2016-11-09 00:25:14,753 NetUtil.py:78 - [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group  
ERROR 2016-11-09 00:25:14,753 NetUtil.py:79 - SSLError: Failed to connect. Please check openssl library versions.   
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.  
WARNING 2016-11-09 00:25:14,754 NetUtil.py:106 - Server at https://master:8440 is not reachable, sleeping for 10 seconds...  
INFO 2016-11-09 00:25:21,325 main.py:68 - loglevel=logging.INFO  
INFO 2016-11-09 00:25:24,754 NetUtil.py:60 - Connecting to https://master:8440/ca  
ERROR 2016-11-09 00:25:24,821 NetUtil.py:78 - [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group  
ERROR 2016-11-09 00:25:24,821 NetUtil.py:79 - SSLError: Failed to connect. Please check openssl library versions.   
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.  
WARNING 2016-11-09 00:25:24,822 NetUtil.py:106 - Server at https://master:8440 is not reachable, sleeping for 10 seconds...  
INFO 2016-11-09 00:25:28,463 main.py:68 - loglevel=logging.INFO  
INFO 2016-11-09 00:25:28,464 DataCleaner.py:36 - Data cleanup thread started  
INFO 2016-11-09 00:25:28,465 DataCleaner.py:117 - Data cleanup started  
INFO 2016-11-09 00:25:28,466 DataCleaner.py:119 - Data cleanup finished  
INFO 2016-11-09 00:25:28,495 PingPortListener.py:51 - Ping port listener started on port: 8670  
INFO 2016-11-09 00:25:28,495 main.py:258 - Connecting to Ambari server at https://slave1:8440 (192.168.140.208)  
INFO 2016-11-09 00:25:28,495 NetUtil.py:60 - Connecting to https://slave1:8440/ca  
WARNING 2016-11-09 00:25:28,496 NetUtil.py:83 - Failed to connect to https://slave1:8440/ca due to [Errno 111] Connection refused    
WARNING 2016-11-09 00:25:28,496 NetUtil.py:106 - Server at https://slave1:8440 is not reachable, sleeping for 10 seconds...  
', None)  
 
  
Registering with the server...  
Registration with the server failed.  

解决方法:

1.检查/etc/hostname是否正确

2.检查/etc/hosts 是否配置IP映射关系

3.yum update openssl

若还不行,进行第四步:

4.修改/etc/locale.conf

centos7:

修改 /etc/locale.conf

LANG="en_US.UTF-8"

LANGUAGE="en_US:en"
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值