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