ambari-agent启动报错

来源:互联网 发布:部落冲突地震法术数据 编辑:程序博客网 时间:2024/05/22 15:46

在redhat6.4安装hdp没发现问题,但在redhat6.5安装hdp时出现下面的问题

ambari-agent启动时报错:netutil.py:89 -SSLError: Failed to connect. Please check openssl library versions.

在网上搜索一番之后,查看官方文档有相关问题描述:
When deploying HDP using Ambari 1.4.x or later on RHEL CentOS 6.5, click the “Failed” link on the Confirm Hosts page in the Cluster Install wizard to display the Agent logs. The following log entry indicates the SSL connection between the Agent and Server failed during registration:INFO 2014-04-02 04:25:22,669 NetUtil.py:55 - Failed to connect to https://{ambari-server}:8440/cert/ca due to [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown groupFor more detailed information about this OpenSSL issue, see https://bugzilla.redhat.com/show_bug.cgi?id=1025598
官方给出的解决办法是,如果服务器的openssl版本是openssl-1.0.1e-15.el6.x86_64,那么就要升级openssl至高版本。
详见官方文档:
http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-troubleshooting/content/resolving_ambari_install_and_setup_problems.html
然后开始升级openssl:
首先采取了使用openssl的tar包编译升级服务器的openssl,升级完启动ambari-agent发现还是报错,折腾了大半天,感觉可能是openssl的编译升级方式有问题(有点坑),如果有采用此方式升级成功的小伙伴可以告知一下,谢谢。
接着采取第二种方式升级,因为服务器是不能访问公网,所以手动下载了openssl的rpm包openssl-1.0.1e-16.el6_5.15.x86_64.rpm、openssl-devel-1.0.1e-16.el6_5.15.x86_64.rpm
然后使用yum本地升级openssl,
# yum upgrade openssl-1.0.1e-16.el6_5.15.x86_64.rpm openssl-devel-1.0.1e-16.el6_5.15.x86_64.rpm

再次启动ambari-agent,成功!
参考文档 http://www.cnblogs.com/6tian/p/4277808.html
                                             
0 0
原创粉丝点击