首页 > 技术文章 > 执行yum命令报错"Unable to connect to Registration Management Service"

wholj 2019-05-20 09:21 原文

问题描述

linux上执行yum相关命令时,报无法连接到注册管理服务的错误,具体报错信息如下

[root@aijihe-core-zy-2-3 ~]# yum install gcc
Loaded plugins: fastestmirror, license-manager, versionlock
Loading mirror speeds from cached hostfile
Unable to connect to Registration Management Service

解决办法

修改/etc/yum.conf文件,将plugins=1修改为plugins=0;此参数决定是否允许使用插件,0代表不允许,1代表允许;

推荐阅读