1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

default locale does not exist or undefined plesk after upgrade to 10.4.4

Discussion in 'Plesk 10.x for Linux Suggestions and Feedback' started by styxxx, May 9, 2012.

  1. styxxx

    styxxx New Pleskian

    10
    35%
    Joined:
    May 9, 2012
    Messages:
    7
    Likes Received:
    0
    Hello,

    I can't get into the web manager and get this : "default locale does not exist or undefined plesk" error message

    I did check into the DB

    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 |
    | pl-PL | false |
    | pt-BR | false |
    | ru-RU | false |
    | zh-CN | false |
    | zh-TW | false |
    +-------+--------+
    12 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)

    It seems correct

    Any help ?

    Thanks, Guy
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
  3. styxxx

    styxxx New Pleskian

    10
    35%
    Joined:
    May 9, 2012
    Messages:
    7
    Likes Received:
    0
    I did try....

    [root@hs005 bin]# ./server_pref --set-default -locale en-US
    SUCCESS: Server preferences are successfully updated
    [root@hs005 bin]# ./admin -u -locale en-US
    SUCCESS: Administrator's preferences are successfully updated


    But still get :

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

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

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Did you try to reinstall package psa-locale-base-en-US ?
     
  5. styxxx

    styxxx New Pleskian

    10
    35%
    Joined:
    May 9, 2012
    Messages:
    7
    Likes Received:
    0
    I did,
    downloaded and installed using a rpm --force
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Did it help finally?
     
  7. styxxx

    styxxx New Pleskian

    10
    35%
    Joined:
    May 9, 2012
    Messages:
    7
    Likes Received:
    0
    not at first tru, then I reinstalled the language + the base and it works now
     
  8. jbcampos

    jbcampos New Pleskian

    11
     
    Joined:
    Nov 8, 2012
    Messages:
    20
    Likes Received:
    0
    Sorry to resurrect an older post but does anyone know how to go about fixing this on a windows panel? I had a panel 11 install going and today it started throwing that error. I was told by another admin that it started doing this without an upgrade but an upgrade was done to try to fix it. Looked through the logs, not sure how we would go about reinstalling the locales.
     
  9. jbcampos

    jbcampos New Pleskian

    11
     
    Joined:
    Nov 8, 2012
    Messages:
    20
    Likes Received:
    0
    Well never mind... alt tabbed back to my browser after posting this and I got logged right back in... odd. I'll keep an eye on it I guess.
     
Loading...