How to fix invalid subscription (RHEL Redhat Enterprise Linux)


Subscription manager reports that the status is invalid. How to fix it?

[root@kht-notebook ~]# subscription-manager status
System Status Details
Overall Status: Invalid

Red Hat Developer Tools (for RHEL Server):
- Not supported by a valid subscription.

[root@kht-notebook ~]#


Did you try to refresh and check? If not, try this out:

# subscription-manager refresh
# subscription-manager attach --auto
# subscription-manager status

If this doesn't help then try un-register it from the system and then re-register and check.

# subscription-manager remove --all
# subscription-manager unregister
# subscription-manager clean

After this try to register it back:

# subscription-manager register
# subscription-manager attach --auto