当我试图订阅我的centos 8的红帽子回复,我得到了错误如下。有人能解释我需要做什么吗?
[root@thiecentos8 ~]# subscription-manager attach --auto
Ignoring request to auto-attach. It is disabled for org "15824072" because of the content access mode setting.
发布于 2022-08-10 18:26:53
一年一次,对于免费的Redhat订阅,订阅将过期,这告诉我们池没有有效的订阅。Redhat系统可能需要半个小时才能反映订阅的变化。如果订阅到期,则最好在非Redhat计算机上更新订阅。在已过期订阅的Redhat计算机上,网络访问将受到限制。
首先,尝试刷新并重新连接到受影响的机器上(S)。
$ sudo -s
# subscription-manager refresh
# subscription-manager attach --auto --username=XXX --password=XXX, replacing XXX with your redhat account
# subscription-manager status
# subscription-manager list --available --all
如果它失败了,你可能只是没有等待足够长的后端在Redhat赶上。如果仍然失败,请尝试删除并重新附加注册。
# subscription-manager remove --all
# subscription-manager unregister
# subscription-manager clean
现在试着重接
# subscription-manager register
# subscription-manager attach --auto
# subscription-manager status
# subscription-manager list --available --all
您还应该看到订阅显示在developer.redhat.com订阅中。
发布于 2023-01-13 14:17:22
看这里,在最新版本中,如果我理解正确的话,就没有必要使用“自动附加”https://access.redhat.com/management/subscription_拨款。
发布于 2023-01-13 14:21:26
由于在启用SCA时不需要将订阅附加到主机,因此与自动附加相关的工作流已经过时。你不再需要:
subscription-manager attach --auto
hammer host subscription auto-attach
auto-attach
运行上述命令将导致no(无更改)或显式错误。
https://unix.stackexchange.com/questions/692749
复制相似问题