Cannot attach subscription to my registered RHEL 6.2
Hello,
I've successfully registered my RHEL 6.2 system (I have to use this rather old version), but can't attach it to my subscription.
When I Run Auto-Attach in the Customer Portal it tells me "Subscriptions have been auto-attached successfully", but nothing changes. In a terminal on the machine subscription-manager subscribe --auto simply returns "Status: Not Subscribed". Finally, when I try subscription-manager subscribe --pool <someID>, I get "Too many content sets for certificate Red Hat Enterprise Linux Developer Suite. A newer client may be available to address this problem. See kbase ....". The Knowledge Base article suggest to upgrade my subscription-manager, but omits to say how. I failed to upgrade it via yum, but without a subscription I don't have any repos anyway.
As subscribing seems to be a substantial and common process, am I missing something obvious?
Responses
I had a similar issue like this a few weeks ago, this is what I had to run to get it to work:
Confirm subscriptions with the following command:
subscription-manager list –available
Run the following command then:
subscription-manager register --force
I have hit the same issue when try to register rhel6.2
[root@l111064 /]# subscription-manager register --force The system has been registered with id: xxxxxxxxxxxxxxxxx [root@l111064 /]# subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+
ProductName: Red Hat Enterprise Linux Server
Version: 6.2
Arch: x86_64
Status: Not Subscribed
Starts:
Expires:
You need to either update packages by searching & downloading them from the Portal or by registering to RHN, i.e.:
Disable RHSM plugin and make sure RHN plugin is enabled
sed -i.bak /^enabled/s,1,0, /etc/yum/pluginconf.d/subscription-manager.conf sed -i /^enabled/s,0,1, /etc/yum/pluginconf.d/rhnplugin.confDisable SSL for the RHN plugin to avoid cert issues (I can't remember if that's a problem in RHEL 6.2)
sed -i.bak /^serverURL=/s,https,http, /etc/sysconfig/rhn/up2dateUse
rhn_registerorrhnreg_ksto register with RHNUpdate RHSM
yum update subscription-managerSwitch back to RHSM
mv -v /etc/sysconfig/rhn/up2date{.bak,} mv -v /etc/yum/pluginconf.d/subscription-manager.conf{.bak,} sed -i /^enabled/s,1,0, /etc/yum/pluginconf.d/rhnplugin.confDelete the system entry in RHN
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
