Work, Work~

Ambari-agent 注册的时候出错

2018-08-09  本文已影响0人  海边的贝壳林

报错信息:

$ tailf /var/log/ambari-agent/ambari-agent.log
INFO 2018-08-09 16:39:42,666 NetUtil.py:70 - Connecting to https://xxxx:8440/ca
ERROR 2018-08-09 16:39:42,669 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:579)
ERROR 2018-08-09 16:39:42,669 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 2018-08-09 16:39:42,669 NetUtil.py:124 - Server at https://xxxx:8440 is not reachable, sleeping for 10 seconds...
INFO 2018-08-09 16:39:52,669 NetUtil.py:70 - Connecting to https://xxxx:8440/ca
ERROR 2018-08-09 16:39:52,672 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:579)
ERROR 2018-08-09 16:39:52,672 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 2018-08-09 16:39:52,672 NetUtil.py:124 - Server at https://xxxx:8440 is not reachable, sleeping for 10 seconds...

总是说openssl版本的问题...

解决方法

在集群中所有的节点中修改配置文件, 更改协议.
vim /etc/ambari-agent/conf/ambari-agent.ini中的``加入

[security]
force_https_protocol=PROTOCOL_TLSv1_2

然后重启ambari-agent.


参考:
https://community.hortonworks.com/questions/114808/ambari-agents-cannot-reach-ambari-server-after-cha.html

上一篇下一篇

猜你喜欢

热点阅读