此问题是在安装第二步,注册主机时遇到的
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.
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
解决办法:
rpm -qa | grep openssl
yum upgrade openssl
rpm -qa | grep openssl
在安装到倒数第二步“Install, Start and Test”时,一直安装不成功,提示[Errno 256] No more mirrors to try
解决办法:
yum clean all
yum makecache
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 2: ordinal not in range(128)
Python中使用中文字符串报错,解决方案:
在出现问题的页加上如下三行即可:
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
问题: [root@cddserver2 ~]# yum -y install gcc-* Loaded plugins: fastestmirror, presto Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
原因: dns服务器没有配置正确
解决办法:
1、打开文件/etc/resolv.conf在其中添加: nameserver 8.8.8.8
2、然后重启网卡:使用命令: service network restart

本文解决了一系列在安装过程中出现的问题,包括注册主机时的SSL错误、安装失败时的YUM源问题以及Python中使用中文字符串时的编码错误。提供了具体的排查步骤和解决方法。
1171

被折叠的 条评论
为什么被折叠?



