Issue
One has the following messages from the cldiag utility:
Error:
Check existing JWT token:
FAILED: JWT token expired. Please check for JWT token in path "/etc/sysconfig/rhn/jwt.token". Try running "rhn_check" for getting a new token if it is absent. Server can't collect and send statistics to Centralized Monitoring if you don't have a correct JWT token. Link to FAQ and troubleshooting https://docs.cloudlinux.com/cloudlinux-os-plus/#faq-2. Please write to support https://cloudlinux.zendesk.com/ if you can't resolve the issue.
Command for disabling this cron checker: "cldiag --disable-cron-checkers check-jwt-token"
Environment
- CloudLinux OS Legacy (Not Shared PRO)
Solution
In the CloudLinux OS Legacy edition, the JWT token issue can be ignored.
Check if there is a valid CloudLinux OS Shared Pro license:
# /opt/alt/python37/bin/python3 -c "from clcommon.lib.jwt_token import jwt_token_check; print(jwt_token_check())"
# cldiag --check-jwt-token
- If the result is negative, disable the cron checker with the following command:
cldiag --disable-cron-checkers check-jwt-token
- If the result is positive, run the following command to update the license status:
rhn_check
Cause
The cldiag utility checks server for the valid JWT token required for the X-Ray. With no CloudLinux OS Shared Pro license, one may experience this error message.
Useful links
Comments
0 comments
Please sign in to leave a comment.