Token not found in Cpanel/WHM

Getting Token not found error or  Session Not found when accessing Cpanel/WHM

1. Ensure that the date & time on the target Cpanel/WHM server is correct. Also, make sure the date & time on the ssh gateway is correct as well.
       Use the command #ntpdate pool.ntp.org to correct the date& time on the remote cpanel server.

[email protected]:~# ntpdate pool.ntp.org

2. Ensure that SELinux is disabled on the gateway server as well as the remote server where you are unable to login via Cpanel/WHM. You may set selinux to disabled in /etc/selinux/config. The command sestatus  should return 'disabled' as the result. If you get a command not found error , it means selinux is not installed and you can move to the next step.

[[email protected] ~]# sestatus

SELinux status:                 disabled

3. Reset the root password of the target linux node via the ssh gateway web gui. Ensure that you are able to manually login into the target server outside of the ssh gateway with the current root password set in the ssh gateway.You can view the current server password by pressing the 'tab' key.

shell-info

4.  Ensure that you  are able to telnet to target machine 2087 port from ezeelogin gateway server.

[email protected]:~# telnet <IP or hostname of cpanel > 2087

5. Ensure that the hostname of the remote server resolves in the DNS, if not Edit the server, Under Advanced, set the 'Cp Use DNS' field to 'NO'.

    
5. Flush your Browser cache and then relogin into the ezeelogin web interface and try accessing the Cpanel/WHM.
6. Ensure that the control panel username and password is empty in advanced section for cpanel/whm.

     

 

Do contact support if you are still unable to get this resolved.

5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    reCaptcha images not loading
    Viewed 1782 times since Wed, Jun 14, 2017
    Disabling reCAPTCHA
    Viewed 1402 times since Wed, Jun 14, 2017
    In parallel shell i get "An error occurred. Please contact administrator"
    Viewed 2132 times since Wed, Jun 14, 2017
    Can’t connect to local MySQL server through socket ’3306 ’ in ezsh.log
    Viewed 1250 times since Thu, Jun 15, 2017
    Cannot login to ezeelogin backend - CageFS-Cloudlinux
    Viewed 1404 times since Wed, Jun 14, 2017
    LDAP verification failed. Connection to {hostname} closed.
    Viewed 547 times since Fri, May 18, 2018
    key_read: uudecode ssh user cant login with ssh key
    Viewed 3088 times since Thu, Jun 15, 2017
    F1 - F4 keys not working in ezsh when using PuTTY
    Viewed 12810 times since Wed, Jun 14, 2017
    sshd[902]: debug1:PAM: password authentication failed for an illegal user: Authentication failure
    Viewed 2470 times since Thu, Feb 1, 2018
    error: User modify failed Cannot modify user on this node: OS=FreeBSD: Command not found. OS: Undefined
    Viewed 1325 times since Wed, Jun 14, 2017