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

Unable to create Session object: Unable to set up default locale

Discussion in 'Plesk 11.x for Windows' started by jbcampos, Nov 8, 2012.

  1. jbcampos

    jbcampos New Pleskian

    11
     
    Joined:
    Nov 8, 2012
    Messages:
    20
    Likes Received:
    0
    I've had a plesk 11 installation going for a few days on my 2012 server. Everything seemed to be working fine until today when I came in I got this error message:

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

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

    I didn't have much time to troubleshoot it but when I tried it again in a few hours it was working again. I tried later today and now its having the same problem. Kind of scratching my head on this one. I saw other posts recommended to look at the locale's in the plesk mysql database. I'm not sure what user/pass to use to login to the plesk mysql db server, and even if I do if I find missing/broken locale's how would I fix them? Suppose I could run the installer again to see if I can add/remove components that way.
     
  2. jbcampos

    jbcampos New Pleskian

    11
     
    Joined:
    Nov 8, 2012
    Messages:
    20
    Likes Received:
    0
    Tried resetting the locale's in reference to reading http://kb.parallels.com/en/112315 but get the same error:

    PS C:\Program Files (x86)\Parallels\Plesk\bin> .\server_pref.exe --set-default -locale en-US
    Cannot initialize admin's session: Unable to set up default locale: default locale does not exist or undefined.


    PS C:\Program Files (x86)\Parallels\Plesk\bin> .\admin.exe -u -locale en-US
    Cannot initialize admin's session: Unable to set up default locale: default locale does not exist or undefined.

    The locale's are there I'm able to locate them here C:\Program Files (x86)\Parallels\Plesk\admin\common\resources\languages\en-US

    I suppose it's a permissions or UAC thing?
     
  3. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  4. jbcampos

    jbcampos New Pleskian

    11
     
    Joined:
    Nov 8, 2012
    Messages:
    20
    Likes Received:
    0
    Well I did see that but I didn't know what password the plesk mysql instance used. I tried my local admin, plesk admin password, couldn't get in. I suppose I could reinstall since this is a newly created server with no live customers on it but i'd like to figure out how to fix it in case it does happen to a live server.
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  6. jbcampos

    jbcampos New Pleskian

    11
     
    Joined:
    Nov 8, 2012
    Messages:
    20
    Likes Received:
    0
    Thanks Igor. Seems everything is correct. Anything else you could think of? I could just reinstall it as this is a new deployment. If we upgrade an existing panel server and run into this issue is there a guide we could use on what to backup, etc.
     
  7. jbcampos

    jbcampos New Pleskian

    11
     
    Joined:
    Nov 8, 2012
    Messages:
    20
    Likes Received:
    0
    Had to open a ticket with support. Issue came down to incorrect permissions on one of the locate folders. Issue has since come back again though. Re-opened my ticket. I'll see what they say next.
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Please send me ticket id in PM. I will check it.
     
Loading...