ambari openssl 版本问题:SSLError: Failed to connect. Please check openssl library versions.

当遇到Ambari SSLError:Failed to connect,可能是由于openssl库版本过旧导致。解决方案包括:更新操作系统openssl到最新版本,或者修改/etc/python/cert-verification.cfg配置文件,并在/etc/ambari-agent/conf/ambari-agent.ini的[security]部分添加相关配置,最后重启ambari-agent服务。
摘要由CSDN通过智能技术生成
centos使用Ambari搭建Hadoop集群
ambari --Confirm Hosts报错
 
Command start time 2018-08-13 10:32:23
bash: /var/lib/ambari-agent/bin/ambari-agent: Is a directory
('INFO 2018-08-10 11:03:19,614 NetUtil.py:70 - Connecting to https://node-1:8440/ca
ERROR 2018-08-10 11:03:19,618 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:579)
ERROR 2018-08-10 11:03:19,618 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. 

solution:

1.检查os openssl是否是最新版本,若不是,请更新。

[root@node-1 ~]# rpm -qa | grep openssl 
openssl-1.0.1e-57.el6.x86_64
openssl-devel-1.0.1e-57.el6.x86_64

更新openssl
[root@node-1 ~]# yum update openssl

重启ambari-server
[root@node-1 ~]#  ambari-server restart

2.若不行,修改/etc/python/cert-verification.cfg配置文件

verify=disable

  修改/etc/ambari-agent/conf/ambari-agent.

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值