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
    Unable to open ssh session
    Viewed 2146 times since Thu, Jun 15, 2017
    ERROR db user: Incorrect datetime value: ’0000-00-00 00:00:00’ for column ’expiry’ at row 1
    Viewed 863 times since Tue, Feb 12, 2019
    Class ’DOMDocument’ not found
    Viewed 508 times since Thu, Oct 25, 2018
    License cache outdated but its not time yet
    Viewed 1630 times since Wed, Jun 14, 2017
    Jump server ip to be licensed?
    Viewed 2226 times since Thu, Jun 15, 2017
    You don’t have permission to access /ezlogin/index.php/auth/login on this server
    Viewed 1242 times since Fri, Aug 10, 2018
    keep getting logged out while trying to web gui in firefox and safari but login into the web interface via chrome works fine
    Viewed 1613 times since Wed, Sep 27, 2017
    Can we map existing user group in ldap to ezeelogin as ezeelogin user group ?
    Viewed 3402 times since Mon, Sep 25, 2017
    Cannot login to ezeelogin backend - CageFS-Cloudlinux
    Viewed 1788 times since Wed, Jun 14, 2017
    Failed to Connect to IP: Permission Denied cPanel / WHM login
    Viewed 2649 times since Thu, Jun 15, 2017