- Red Hat Satellite 5.x
- Red Hat Enterprise Linux 5.x & higher
- RHN Classic
- Server is registered with RHN or RHN Satellite, but yum command donot show correct output:
[root@ ~]# yum repolist This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. [root@ ~]# [root@ ~]# yum check-update This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. [root@ral-rhsat ~]#
From system profile it shows updates available for system.
/etc/yum.conffile and set
debug=2and save it.
- Then run below commands:
# yum clean all # yum repolist # yum check-update
- In /etc/yum.conf file
# cat etc/yum.conf [main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=0 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3
- The system is registered with RHN Classic and is successfully checking-in with RHN. Also from logs can see packages getting updated.
==> var/log/up2date <== [Mon Jul 7 09:17:31 2014] up2date D: rpcServer: Calling XMLRPC registration.welcome_message [Mon Jul 7 09:17:33 2014] up2date D: rpcServer: Calling XMLRPC registration.update_packages [Mon Jul 7 09:18:09 2014] up2date Updating package profile [Mon Jul 7 09:21:26 2014] up2date Updating package profile [Mon Jul 7 09:43:42 2014] rhn_register updateLoginInfo() login info [Mon Jul 7 09:43:42 2014] rhn_register logging into up2date server [Mon Jul 7 09:43:43 2014] rhn_register successfully retrieved authentication token from up2date server [Mon Jul 7 10:18:32 2014] up2date updateLoginInfo() login info [Mon Jul 7 10:18:32 2014] up2date logging into up2date server [Mon Jul 7 10:18:36 2014] up2date successfully retrieved authentication token from up2date server ==> var/log/yum.log <== Jul 07 09:16:26 Updated: ql2500-firmware-7.03.00-1.el6_5.noarch Jul 07 09:16:26 Updated: tzdata-2014e-1.el6.noarch Jul 07 09:16:26 Updated: avahi-libs-0.6.25-12.el6_5.1.x86_64 Jul 07 09:16:27 Updated: tzdata-java-2014e-1.el6.noarch Jul 07 09:16:28 Updated: kernel-headers-2.6.32-431.20.3.el6.x86_64 Jul 07 09:18:08 Updated: spacewalk-java-lib-2.0.2-79.el6sat.noarch Jul 07 09:18:08 Updated: spacewalk-java-config-2.0.2-79.el6sat.noarch Jul 07 09:18:08 Updated: spacewalk-java-postgresql-2.0.2-79.el6sat.noarch Jul 07 09:18:08 Updated: spacewalk-taskomatic-2.0.2-79.el6sat.noarch Jul 07 09:18:09 Updated: spacewalk-java-2.0.2-79.el6sat.noarch
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.