![更新/安装时 Yum 出现错误](https://linux22.com/image/541825/%E6%9B%B4%E6%96%B0%2F%E5%AE%89%E8%A3%85%E6%97%B6%20Yum%20%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF.png)
Yum 错误RHN 服务器是否宕机了或者我的服务器是否存在问题。
yum update
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Error communicating with server. The message was:
Error Message:
RHN Proxy could not successfully connect its RHN parent. Please contact your system administrator.
Error Class Code: 1000
Error Class Info: RHN Proxy error.
Explanation:
An error has occurred while processing your request. If this problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
Excluding Packages in global exclude list
Finished
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
答案1
错误正是它所说的:它无法连接到 RHN 服务器。如果您粘贴内容/etc/sysconfig/rhn/up2date
(如 @packs 在其评论中所建议的那样),您可以使用 URL 来验证它是否启动。例如,如果您正在使用镜像,则该镜像很可能已关闭。
还要验证您的服务器是否具有互联网连接,并尝试运行到服务器(和其他 URL)的跟踪路由,以确保它不是本地问题。