微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

linux – 修复替换的OpenSSL安装

我以前用openssl10替换了我的centos盒子上的openssl,使用类似 these instructions的东西:
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/...
     ...x86_64/ius-release-1.0-11.ius.centos6.noarch.rpm
yum install yum-plugin-replace
# Edit /etc/yum.repos.d/ius-archive.repo and 
# enable the ius-archive repo by changing enabled=0 to enabled=1.
yum replace openssl --replace-with openssl10

然后,当我做一般的yum更新时,由于openssl我得到错误,所以我改为:

yum update -x openssl -x postfix

这似乎工作正常,但实际上,我不能再通过ssh重新连接到框:

me@local $ssh -S none root@the_server
ssh_exchange_identification: Connection closed by remote host

关于如何从这种情况中恢复的任何想法?

编辑:
当我在服务器上运行sshd(我仍然有一个打开的连接)时,我收到以下错误

ssh: relocation error: ssh: symbol SSLeay_version,version OPENSSL_1.0.1 
    not defined in file libcrypto.so.10 with link time reference

解决方法

使用IUS存储库并使用它来替换openssl与openssl10然后尝试升级到CentOS 6.5时出现了一个错误.

基本上你要做的就是回到股票openssl – 现在无论如何在版本1.0.1:

yum replace openssl10 --replace-with openssl

现在不需要使用openssl10且不受支持.
这也是它仅在归档回购中可用的原因.

有关更多信息,请参阅:https://lists.launchpad.net/ius-community/msg00807.htmlhttps://bugs.launchpad.net/ius/+bug/1034961/comments/60

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐