Symptoms
While trying to activate Cloudlinux's license with the following command you will get this error:
/usr/sbin/clnreg_ks --force
.....
Yours `rhn-client-tools` is outdated, please update it using `yum update rhn-client-tools -y`.
However, If you run the recommended command to update the outdated package you will get another error:
yum update rhn-client-tools -y
Loaded plugins: fastestmirror, rhnplugin, security
Profilename: hostname.maindomain.tld
Yours `rhn-client-tools` is outdated, please update it using `yum update rhn-client-tools -y`.
There was an error communicating with CLN.
CLN support will be disabled.
Error communicating with server. The message was:
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 cloudlinux.zendesk.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.
Setting up Update Process
Loading mirror speeds from cached hostfile
* cpanel-addons-production-feed: 101.0.120.94
No Packages marked for Update
Description:
This means that the rhn-client-tools package on your system is outdated, which you can confirm by running this command (below) and comparing the version of the package installed on the server with the version available in Cloudlinux's repositories: (Currently rhn-client-tools-2.0.2-30.el7)
rpm -qa | grep -i "rhn-*"
Workaround
To resolve this issue, you need to (re)install the rhn-setup package from Cloudlinux's Base repository:
yum install rhn-setup --enablerepo=cloudlinux-base
And then run the activation command again:
/usr/sbin/clnreg_ks --force
And finally, confirm that the license has been activated:
/usr/bin/cldetect --check-license
OK