Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Cannot log in to Plesk Control Panel: "Session Expired"  (Read 1972 times)

0 Members and 1 Guest are viewing this topic.

Karun

  • Guest
Cannot log in to Plesk Control Panel: "Session Expired"
« on: January 16, 2014, 08:19:58 pm »
Cannot log in to Plesk Control Panel: "Session Expired"

When we access the Plesk there is a blank screen on login.( Usually after a Plesk upgrade :( )

1) The following error message is written in /usr/local/psa/admin/logs/panel.log:

 [panel]: Session expired:
0: Session.php:410
        Session->init()
1: cmd_loginup.php:135


2) The MySQL NOW() function returns a different time than the one returned by the date command:
~# date
Fri Nov 8 19:56:46 CST 2013
~# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa -e "SELECT NOW();"
 
 NOW()               

2013-11-08 20:56:41 
+---------------------+
 

Reason :

The MySQL server and the OS have different timezone settings.

Fix :

To force MySQL to use the system timezone, comment the default-time-zone parameter from the configuration /etc/my.cnf
Restart the MySQL server:
~# /etc/init.d/mysqld restart

;)