Ambari学习10_ambari安装过程Registration with the server failed和[Errno 256] No more mirrors to try
来源:互联网 发布:枪林弹雨刷枪软件 编辑:程序博客网 时间:2024/05/22 03:19
今天重新安装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 groupERROR 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.INFOINFO 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 fileINFO 2015-02-06 20:09:45,344 ProcessHelper.py:46 - Removing temp filesINFO 2015-02-06 20:10:19,815 main.py:83 - loglevel=logging.INFOINFO 2015-02-06 20:10:19,816 DataCleaner.py:36 - Data cleanup thread startedINFO 2015-02-06 20:10:19,816 DataCleaner.py:71 - Data cleanup startedINFO 2015-02-06 20:10:19,816 DataCleaner.py:73 - Data cleanup finishedINFO 2015-02-06 20:10:19,973 PingPortListener.py:51 - Ping port listener started on port: 8670INFO 2015-02-06 20:10:19,973 main.py:227 - Connecting to the server at: https://Master.domain.dev:8440INFO 2015-02-06 20:10:19,974 NetUtil.py:72 - DEBUG: Trying to connect to the server at https://Master.domain.dev:8440INFO 2015-02-06 20:10:19,974 NetUtil.py:42 - Connecting to the following url https://Master.domain.dev:8440/cert/caERROR 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 groupERROR 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 finishedhost=Slave5.domain.dev, exitcode=0Command end time 2015-02-06 12:07:47Registering 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 opensslopenssl-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 openssl
openssl-1.0.1e-16.el6.x86_64
- Restart Ambari Agent(s) and Click Retry Failed on the Wizard
问题二:
在安装到倒数第二步“Install, Start and Test”时,一直安装不成功,提示
[Errno 256] No more mirrors to try
解决方法:
输入下面的命令即可解决问题:
- yum clean all
- yum makecache
0 0
- Ambari学习10_ambari安装过程Registration with the server failed和[Errno 256] No more mirrors to try
- Ambari学习11_安装过程[Errno 256] No more mirrors to try问题解决
- Ambari学习3_Ambari Registration with the server failed 错误解决
- YUM安装遭遇: [Errno 256] No more mirrors to try
- YUM安装遭遇: [Errno 256] No more mirrors to try
- yum [Errno 14] [Errno 256] No more mirrors to try
- YUM [Errno 256] No more mirrors to try.解决办法
- yum [Errno 256] No more mirrors to try.
- yum [Errno 256] No more mirrors to try 解决方法
- yum [Errno 256] No more mirrors to try 解决方法
- [CentOS] [Errno 256] No more mirrors to try
- yum [Errno 256] No more mirrors to try 解决方法
- yum [Errno 256] No more mirrors to try 解决方法
- centos 6.5 [Errno 256] No more mirrors to try.
- yum [Errno 256] No more mirrors to try
- 解决 yum [Errno 256] No more mirrors to try
- yum [Errno 256] No more mirrors to try 解决方法
- 解决yum [Errno 256] No more mirrors to try
- yum 问题集锦
- Swift练习小demo tableView 自定义cell 简单实用
- 手机号码滚动抽奖系统(JS)
- 姚虹波:移动电商之路怎么走
- JS模块化工具requirejs教程(一)
- Ambari学习10_ambari安装过程Registration with the server failed和[Errno 256] No more mirrors to try
- 【cocos2d-js官方文档】十七、事件分发机制
- 42.淘宝商城中的缓存(hasmap)
- solr在java中的使用
- 堆排序java实现
- 汉字与拼音互转的工具类
- 08 面向对象二
- 14.7.1 Resizing the InnoDB System Tablespace InnoDB 系统表空间大小
- 关于大学职业规划的分享