Ambari Agent 启动失败无法发送心跳参数.

报错日志信息:

[root@master-045 ~]# tail -f /var/log/ambari-agent/ambari-agent.log
INFO 2020-03-03 14:43:56,364 NetUtil.py:70 - Connecting to https://master-045:8440/ca
ERROR 2020-03-03 14:43:56,368 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:618)
ERROR 2020-03-03 14:43:56,369 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. 
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2020-03-03 14:43:56,369 NetUtil.py:124 - Server at https://master-045:8440 is not reachable, sleeping for 10 seconds...
INFO 2020-03-03 14:44:06,369 NetUtil.py:70 - Connecting to https://master-045:8440/ca
ERROR 2020-03-03 14:44:06,373 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:618)
ERROR 2020-03-03 14:44:06,374 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. 
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2020-03-03 14:44:06,374 NetUtil.py:124 - Server at https://master-045:8440 is not reachable, sleeping for 10 seconds...


解决方式

编辑ambari-agent.ini 配置文件, 在 [security] 下面增加一行代码  [force_https_protocol=PROTOCOL_TLSv1_2 ] ,重启 agent.

vi /etc/ambari-agent/conf/ambari-agent.ini


[security] 
force_https_protocol=PROTOCOL_TLSv1_2


ambari-agent restart



发布了318 篇原创文章 · 获赞 820 · 访问量 36万+

猜你喜欢

转载自blog.csdn.net/zhanglong_4444/article/details/104632756