Ambari学习8_NetUtil.py:79 - SSLError: Failed to connect. Please check openssl library versions.

安装Ambari过程中,出现错误,查看提示,也只是:

Registering with the server...
Registration with the server failed.

无奈,去查看日志,日志位置:/var/log/ambari-agent/ambari-agent.log,

使用vim命令打开,使用Shift+g定位到最后一行,查看内容,

ERROR 2016-11-10 17:45:36,578 NetUtil.py:78 - [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
ERROR 2016-11-10 17:45:36,578 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-10 17:45:36,578 NetUtil.py:106 - Server at https://slave1:8440 is not reachable, sleeping for 10 seconds...
INFO 2016-11-10 17:45:46,578 NetUtil.py:60 - Connecting to https://slave1:8440/ca
ERROR 2016-11-10 17:45:46,635 NetUtil.py:78 - [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
ERROR 2016-11-10 17:45:46,635 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-10 17:45:46,635 NetUtil.py:106 - Server at https://slave1:8440 is not reachable, sleeping for 10 seconds...
INFO 2016-11-10 17:45:53,676 main.py:68 - loglevel=logging.INFO
INFO 2016-11-10 17:45:56,635 NetUtil.py:60 - Connecting to https://slave1:8440/ca

寻找NetUtil.py:79 - SSLError: Failed to connect. Please check openssl library versions.错误的原因,发现是openssl的版本过旧,

yum install openssl更新后,错误部分得到解决。

参考:https://martin.atlassian.net/wiki/pages/viewpage.action?pageId=23494834

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值