今天重新安裝ambari過程中,遇到了幾個問題,耗費了我很長時間,在此記錄一下
ambari重新安裝可參考我之前的一篇隨筆
http://www.cnblogs.com/6tian/p/4097401.html
?
遇到的問題一:
此問題是在安裝第二步,注冊主機時遇到的
('ERROR 2015-02-06 20:09:43,441 NetUtil.py:56 - [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
ERROR 2015-02-06 20:09:43,442 NetUtil.py:58 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
INFO 2015-02-06 20:09:43,442 NetUtil.py:81 - Server at https://Master.domain.dev:8440 is not reachable, sleeping for 10 seconds...
INFO 2015-02-06 20:09:45,343 main.py:83 - loglevel=logging.INFO
INFO 2015-02-06 20:09:45,343 main.py:55 - signal received, exiting.
INFO 2015-02-06 20:09:45,343 ProcessHelper.py:39 - Removing pid file
INFO 2015-02-06 20:09:45,344 ProcessHelper.py:46 - Removing temp files
INFO 2015-02-06 20:10:19,815 main.py:83 - loglevel=logging.INFO
INFO 2015-02-06 20:10:19,816 DataCleaner.py:36 - Data cleanup thread started
INFO 2015-02-06 20:10:19,816 DataCleaner.py:71 - Data cleanup started
INFO 2015-02-06 20:10:19,816 DataCleaner.py:73 - Data cleanup finished
INFO 2015-02-06 20:10:19,973 PingPortListener.py:51 - Ping port listener started on port: 8670
INFO 2015-02-06 20:10:19,973 main.py:227 - Connecting to the server at: https://Master.domain.dev:8440
INFO 2015-02-06 20:10:19,974 NetUtil.py:72 - DEBUG: Trying to connect to the server at https://Master.domain.dev:8440
INFO 2015-02-06 20:10:19,974 NetUtil.py:42 - Connecting to the following url https://Master.domain.dev:8440/cert/ca
ERROR 2015-02-06 20:10:20,023 NetUtil.py:56 - [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
ERROR 2015-02-06 20:10:20,023 NetUtil.py:58 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
INFO 2015-02-06 20:10:20,023 NetUtil.py:81 - Server at https://Master.domain.dev:8440 is not reachable, sleeping for 10 seconds...
', None)
Connection to Slave5.domain.dev closed.
SSH command execution finished
host=Slave5.domain.dev, exitcode=0
Command end time 2015-02-06 12:07:47
Registering with the server...
Registration with the server failed.
解決方法:
一下是官方論壇中給出的方法,很好
Platforms:
- RHEL / CentOS 6.5
- Ambari 1.4 or later
Root Cause: ?The OpenSSL library available and installed by default on RHEL/CentOS 6.5 has a bug. Refer to? https://bugzilla.redhat.com/show_bug.cgi?id=1025598 ?for detailed information on the bug.
Remedy:
-
Check the OpenSSL library version installed on your host(s):
rpm -qa | grep openssl openssl-1.0.1e-15.el6.x86_64 -
If the output says openssl-1.0.1e-15.x86_64 (1.0.1 build 15) you will need to upgrade the OpenSSL library by running the following command:
yum upgrade openssl -
Verify you have the newer version of OpenSSL (1.0.1 build 16):
rpm -qa | grep opensslopenssl-1.0.1e-16.el6.x86_64 - Restart Ambari Agent(s) and Click Retry Failed? on the Wizard
?
問題二:
在安裝到倒數(shù)第二步“ Install, Start and Test”時,一直安裝不成功,提示
[Errno 256] No more mirrors to try
?
解決方法:
輸入下面的命令即可解決問題:
- yum clean all
- yum makecache
?
更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主
微信掃碼或搜索:z360901061
微信掃一掃加我為好友
QQ號聯(lián)系: 360901061
您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對您有幫助就好】元

