Solved: subscription-manager – Not supported by a valid subscription.
Today we will look at an interesting issue wherein we are not able to subscribe our host to Redhat Satellite server with below error.
Error details
[root@ngelinux1 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Invalid Red Hat Enterprise Linux Server: - Not supported by a valid subscription.
Solution
1. The first step is to verify if we have enough subscription available on redhat support to add this new server.
2. Once this is verified, please check available subscriptions.
[root@ngelinux1 ~]# subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 6.10 Arch: x86_64 Status: Not Subscribed Status Details: Not supported by a valid subscription. Starts: Ends: [root@ngelinux1 ~]#
3. Now refresh the subscription data attach the new available certificate.
[root@ngelinux1 ~]# subscription-manager refresh All local data refreshed [root@ngelinux1 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Invalid Red Hat Enterprise Linux Server: - Not supported by a valid subscription. [root@ngelinux1 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@ngelinux1 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current
4. Now check the status of the repositories, it would be available.
[root@ngelinux2 ~]# yum repolist Loaded plugins: product-id, rhnplugin, search-disabled-repos, security, subscription-manager There was an error communicating with RHN. RHN Satellite or RHN Classic support will be disabled.
You Genius. How do we “verify if we have enough subscription available on redhat support to add this new server.”