• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

PleskFatalException after Upgrade to 9.5.1

T

Tim Roggemann

Guest
Hello,
since I updated my System to 9.5.1 i get an error when i want to access the plesk login page:

ERROR: PleskFatalException
Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.

0: common_func.php3:146
psaerror(string 'Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.')
1: auth.php3:158

I Use Debian Lenny

I installed already all language packs, reinstalled the language packs and set the rights to 755 as it read in an former post.
No change at all
 
Is it Virtuozzo container? Is there any useful in /var/log/sw-cp-server/error_log ?
 
I get the exact same error after I moved a virtuozzo container to a temporary server using "vzmigrate":

ERROR: PleskFatalException
Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.

0: common_func.php3:108
psaerror(string 'Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.')
1: auth.php3:168

When I have a look at /var/log/sw-cp-server/error_log I see no errors:

-bash-3.2# cat /var/log/sw-cp-server/error_log
2010-06-24 14:46:51: (log.c.135) server stopped
2010-06-24 15:52:11: (log.c.75) server started
2010-06-24 16:49:16: (log.c.135) server stopped
2010-06-24 16:50:17: (log.c.75) server started
 
Check locale settings. It should be like:

mysql> select * from locales;
+-------+--------+
| id | active |
+-------+--------+
| de-DE | false |
| en-US | true |
| es-ES | false |
| fr-FR | false |
| it-IT | false |
| ja-JP | false |
| nl-NL | false |
| ru-RU | false |
| zh-CN | false |
| zh-TW | false |
+-------+--------+
10 rows in set (0.00 sec)

mysql> select * from misc where param like "%locale%";
+--------------+-------+
| param | val |
+--------------+-------+
| admin_locale | en-US |
| def_locale | en-US |
+--------------+-------+
2 rows in set (0.00 sec)

If it is correct, try to reinstall with force psa-locale-base-en-US package.
 
Back
Top