The RHN (Red Hat Network) is a
service provided by Red Hat for receiving updates and support for your Red Hat
Enterprise Linux installation. A RHEL copy can be added to RHN by executing the
rhn_register command. If for some reason you want to unregister a machine from
your RHN network login to RHN from http://rhn.redhat.com/ select you system and
click “Delete System” located on the top right.
It isn’t over yet because your
computer still “thinks” it is a part of RHN network. To unregister the computer
a file has to be removed. Login as root user and execute the following command
rm
/etc/sysconfig/rhn/systemid
If you aren’t comfortable with the
command line open a file browser with super user permissions (root) navigate to /etc/sysconfig/rhn and delete
the file systemid. You can
execute rhn_register to reregister that system in future.
Before:
[root@server2
yum.repos.d]# yum search dos2unix
Loaded plugins:
product-id, refresh-packagekit, rhnplugin, security, subscription-manager
There was an error
communicating with RHN.
RHN Satellite or RHN
Classic support will be disabled.
Error Message:
Please run rhn_register as root on this client
Error Class Code: 9
Error Class Info:
Invalid System Credentials.
Explanation:
An error has occurred while processing
your request. If this problem
persists please enter a bug report at
bugzilla.redhat.com.
If you choose to submit the bug report,
please be sure to include
details of what you were trying to do
when this error occurred and
details on how to reproduce this
problem.
===========================================================================================================
N/S Matched: dos2unix
===========================================================================================================
dos2unix.x86_64 : Text
file format converter
Name and summary matches only, use
"search all" for everything.
|
[root@server2
yum.repos.d]# rm /etc/sysconfig/rhn/systemid
rm: remove regular file
`/etc/sysconfig/rhn/systemid'? y
|
After:
[root@server2
yum.repos.d]# yum search dos2unix
Loaded plugins:
product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is not
registered to Red Hat Subscription Management. You can use
subscription-manager to register.
This system is not
registered with RHN Classic or RHN Satellite.
You can use
rhn_register to register.
RHN Satellite or RHN
Classic support will be disabled.
===========================================================================================================
N/S Matched: dos2unix
===========================================================================================================
dos2unix.x86_64 : Text
file format converter
Name and summary matches only, use
"search all" for everything.
|
Thank you for reading.
No comments:
Post a Comment