Issue
An issue when opening CloudLinux Manager:
------------------------
The received data is wrong. Contact support for resolution. Traceback (most recent call last): File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/cledition.py", line 72, in get_from_jwt jwt = decode_jwt(token, verify_exp=verify_exp) File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/jwt_token.py", line 25, in decode_jwt issuer='CloudLinux') File "/opt/alt/python37/lib/python3.7/site-packages/jwt/api_jwt.py", line 104, in decode self._validate_claims(payload, merged_options, **kwargs) File "/opt/alt/python37/lib/python3.7/site-packages/jwt/api_jwt.py", line 134, in _validate_claims self._validate_exp(payload, now, leeway) File "/opt/alt/python37/lib/python3.7/site-packages/jwt/api_jwt.py", line 175, in _validate_exp raise ExpiredSignatureError('Signature has expired')jwt.exceptions.ExpiredSignatureError: Signature has expiredDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/cl_utils/cloudlinux-summary.py", line 45, in main(sys.argv[1:]) File "/opt/alt/python37/lib/python3.7/site-packages/cllimits/cl_utils/cloudlinux-summary.py", line 24, in main return CloudlinuxSummary().run(argv) File "/opt/alt/python37/lib/python3.7/site-packages/clsummary/summary.py", line 726, in run self._actions_before_run_process_as_limited() File "/opt/alt/python37/lib/python3.7/site-packages/clsummary/summary.py", line 550, in _actions_before_run_process_as_limited result = self._get_remote_data() File "/opt/alt/python37/lib/python3.7/site-packages/clsummary/summary.py", line 376, in _get_remote_data stat_data['result'].update(self._get_smart_advice_statistics()) File "/opt/alt/python37/lib/python3.7/site-packages/clsummary/summary.py", line 3148, in _get_smart_advice_statistics if not is_cl_shared_edition(skip_marker_check=True): File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/cledition.py", line 174, in is_cl_shared_edition verify_exp=verify_exp File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/cledition.py", line 127, in get_cl_edition edition = cls.get_from_jwt(token=raw_jwt, verify_exp=verify_exp) File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/cledition.py", line 74, in get_from_jwt raise CLEditionDetectionError(f'Unable to detect edition from jwt token: {CLN_JWT_TOKEN_PATH}. 'clcommon.lib.cledition.CLEditionDetectionError: Unable to detect edition from jwt token: /etc/sysconfig/rhn/jwt.token. Please, make sure it is not broken, error: Signature has expired
----------------------------
Environment
- CloudLinux
- Any control panel
Solution
Please check server licensing via the rhn_check
command.
If the output is the following
# rhn_check
Could not retrieve action item from server <RetryServer for xmlrpc.cln.cloudlinux.com/XMLRPC/>
Error code: 9com.cloudlinux.clos.domain.exceptions.xmlrpc.ClnXmlRpcException: (=_=) Invalid System Credentials. Cannot parse request or identify server. Please, run registration again.
Proceed with server registration using these guidelines:
https://docs.cloudlinux.com/shared/cloudlinux_installation/#license-activation
Comments
3 comments
I have bought the license via Cpanel? This is what I get in return
[root@server12 ~]# rhn_check
Could not retrieve action item from server <RetryServer for xmlrpc.cln.cloudlinux.com/XMLRPC/>
Error code: 9com.cloudlinux.clos.domain.exceptions.xmlrpc.ClnXmlRpcException: (=_=) Invalid System Credentials. Cannot parse request or identify server. Please, run registration again.
[root@server12 ~]# yum install rhn-setup
Seems like server is missing license. Trying to get new one using IP licensing flow.
rhn-plugin: Error communicating with server. The message was:
com.cloudlinux.clos.domain.exceptions.xmlrpc.ClnXmlRpcException: (=_=) License not found for key/IP!
Last metadata expiration check: 1:43:49 ago on Mon 13 Feb 2023 09:39:58 AM CET.
Package rhn-setup-1:2.8.16-14.module_el8.6.0+6599+3ddf2832.cloudlinux.14.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@server12 ~]# /usr/sbin/clnreg_ks --force
rhn-plugin: Error communicating with server. The message was:
com.cloudlinux.clos.domain.exceptions.xmlrpc.ClnXmlRpcException: (=_=) License not found for key/IP!
[root@server12 ~]#
Winston, do you have an IP based license or key based?
The clnreg_ks is used for the IP based licenses only, so likely that IP is not licensed.
If you have a key the rhnreg_ks --activationkey=YOURKEY has to be used instead.
More help in this article.
I got this resolved with cPANEL. Its working now.
Please sign in to leave a comment.