当前位置:   article > 正文

ambari2.6.50 openssl 版本问题:SSLError: Failed to connect. Please check openssl library versions. Openss...

openssl (v1.01, build 16 or later)
I'm trying to register hostnames in Ambari but getting the error below. We tried to run yum update openssl but its got the latest version. We tried to run yum - update it didn’t help. I also tried removing the other openssl packages openssl-devel-1.0.1e-42.el6.x86_64, openssl098e-0.9.8e-17.el6.centos.2.x86_64 and restarting the ambari server/agents and same error. Tried running yum -y install opens* as well but didn’t help. Any ideas?
  1. ERROR 2015-09-23 09:47:07,402 NetUtil.py:77 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol
  2. ERROR 2015-09-23 09:47:07,402 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions.
  3. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
  4. WARNING 2015-09-23 09:47:07,402 NetUtil.py:105 - Server at https://test.org:8440is not reachable, sleeping for 10 seconds...
  5. WARNING 2015-09-23 09:47:07,402 NetUtil.py:105 - Server at https://test.org:8440is not reachable, sleeping for 10 seconds...
  6. INFO 2015-09-23 09:47:14,746 main.py:74 - loglevel=logging.INFO
  7. INFO 2015-09-23 09:47:14,746 main.py:74 - loglevel=logging.INFO
  8. INFO 2015-09-23 09:47:17,403 NetUtil.py:59 - Connecting to https://test.org:8440/ca
  9. WARNING 2015-09-23 09:47:17,404 NetUtil.py:82 - Failed to connect to https://test.org:8440/ca due to [Errno 111] Connection refused
  10. WARNING 2015-09-23 09:47:17,404 NetUtil.py:105 - Server at https://test.org:8440is not reachable, sleeping for 10 seconds...
  11. WARNING 2015-09-23 09:47:17,404 NetUtil.py:105 - Server at https://test.org:8440is not reachable, sleeping for 10 seconds...
  12. ERROR 2015-09-23 09:47:19,780 main.py:315 - Fatal exception occurred:
  13. Traceback (most recent call last):
  14. File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 312, in <module>
  15. main(heartbeat_stop_callback)
  16. File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 248, in main
  17. stop_agent()
  18. File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 198, in stop_agent
  19. sys.exit(1)
  20. SystemExit: 1
  21. ERROR 2015-09-23 09:47:19,780 main.py:315 - Fatal exception occurred:
  22. Traceback (most recent call last):
  23. File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 312, in <module>
  24. main(heartbeat_stop_callback)
  25. File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 248, in main
  26. stop_agent()
  27. File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 198, in stop_agent
  28. sys.exit(1)
  29. SystemExit: 1

Yes. That is a known issue. Modify Ambari Server's java.home to the standard oracle jdk.

 3  隐藏 6 · 分享

that fixed it. Thanks.

Hi,

We are also facing same issue. Even after setting java.home=/usr/jdk64/jdk1.8.0_40 in ambari.properties , it is not resolved.

Is standard oracle jdk path different from this ?

Below are logs snippet from ambari-agent.log ::

ERROR 2015-12-24 18:43:31,604 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) ERROR 2015-12-24 18:43:31,604 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/210549
推荐阅读
相关标签
  

闽ICP备14008679号