Red Hat 原先的订阅
重新安装
# yum install subscription-manager
注册时出错,无法注册成功,可能是因为RHN的信息未清理干净。
# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: MyUser
Password:
Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
加上--force选项,重新注册成功。
# subscription-manager register --force
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: MyUser
Password:
The system has been registered with ID: 0afc118c2-5200-c25b100b6719
The registered system name is: host1@ad1.com
虽然注册成功了,但是没有关联到订阅上。
# subscription-manager list --consumed
No consumed subscription pools were found.
关联订阅最简单的办法是在注册时,让系统自动关联。如果还是关联不成功,那么登录到Red Hat网站,找到这个系统,然后再Subscriptions中添加。
在服务器上更新后,服务器上需要刷新才能看到订阅信息。
# subscription-manager refresh
All local data refreshed
订阅成功后:
# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Server, Standard (Virtual Node, Embedded, Billing)
如果碰到问题 "No Installed Products found"
https://access.redhat.com/solutions/100423
Share on Twitter Share on Facebook
Comments
There are currently no comments
New Comment