Error message while `yum update' "This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions"

Solution Unverified - Updated -

Environment

  • Red Hat Subscription Manager
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Issue

  • Error message while yum update:
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions
  • From rhsm.log
[DEBUG] subscription-manager @identity.py:130 - Loading consumer info from identity certificates.
[DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem
[DEBUG] subscription-manager @connection.py:450 - Making request: GET /subscription/status
[DEBUG] subscription-manager @connection.py:473 - Response: status=200
[WARNING] subscription-manager @connection.py:477 - Clock skew detected, please check your system time
[INFO] subscription-manager @managercli.py:299 - Server Versions: {'candlepin': '0.9.26-1', 'server-type': 'Red Hat Subscription Management'}
subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem
subscription-manager @connection.py:450 - Making request: GET /subscription/
subscription-manager @connection.py:473 - Response: status=200
  • Issue shown:
[root@host]# yum update
Loaded plugins: product-id, subscription-manager
This system is registered to Red Hat Subscription Management, but is not 
receiving updates. You can use subscription-manager to assign subscriptions.
There are no enabled repos.
  Run "yum repolist all" to see the repos you have.
  You can enable repos with yum-config-manager --enable <repo>
  • On portal system status showing Subscribed.

Resolution

# subscription-manager attach --auto

Root Cause

  • Wrong date and time or subscription has not attached on system.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.