Unable to read consumer identity Warning and Solution
2013-08-31 15:30
# vi /etc/yum/pluginconf.d/product-id.conf
# vi /etc/yum/pluginconf.d/subscription-manager.conf
Set enabled to 0 as follows in both files:
[main]
enabled=0
Save and close the file. Finally, type the following command to clean cache:
rm -rfv /var/cache/yum/*
yum clean all
or
Instead, first you’ll need to get rid of the old ‘RHN Classic’:
rm -rf /etc/sysconfig/rhn_systemid
rm -rf /var/cache/yum/*
yum clean all
Now delete the system from the classic RHN console on the web, to free up the entitlement. After that, you can register for the new improved RHN, using a different set of commands:
subscription-manager register
subscription-manager subscribe --auto