首页 > 其他 > 详细

Cockpit subscriptions on CentOS 7 - This system is not registered with an entitlement server. You can use subscription-manager to register.

时间:2018-11-17 15:05:10      阅读:355      评论:0      收藏:0      [点我收藏+]

下午安装 cockpit 时,使用 yum 工具的时候哦,出现如下信息:

This system is not registered with an entitlement server. You can use subscription-manager to register. 

尽管不影响centos 的使用,安装软件也没有任何的影响。但是也是想知道其中的原因;下面是在国外论坛上对于centos 的讨论。

问题:

Installing Cockpit on CentOS7 adds the following nag/notice - seen every time you use yum update etc.: 

"This system is not registered with Subscription Management. You can use subscription-manager to register"

Removing the cockpit-subscriptions - breaks the web interface fuctionality - You can log in but then you get an error page.

Does anyone have a fix for this?
Obviously, this is designed for RHEL but, seems the CentOS package shouldn‘t have this "Feature".

答案1:

Unfortunately cockpit requires subscription-manager and that causes that message to be emitted by yum. However it is only an informational message, not an error and everything works just as it did.

答案2:

Seems simple to nuke the subscription nag by editing /etc/yum/pluginconf.d/subscription-manager.conf :

[main]
enabled=0

Thanks TrevorH
答案3:

 I could solve the problem by setting enabled=0 in [main] section of /etc/yum/pluginconf.d/enabled_repos_upload.conf configuration file:

[main]
enabled=0
supress_debug=False
supress_errors=False

参考链接:

https://www.centos.org/forums/viewtopic.php?t=62366

https://serverfault.com/questions/506148/is-subscription-manager-available-for-centos

保持更新,转载请注明出处。

Cockpit subscriptions on CentOS 7 - This system is not registered with an entitlement server. You can use subscription-manager to register.

原文:https://www.cnblogs.com/xuyaowen/p/Cockpit-subscriptions.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!