• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Warning: Current locale is unusable. Using 'C' instead.

Status
Not open for further replies.

OrinocoDelta

Basic Pleskian
Hello,

i am getting this error on a fresh installed machine:

Code:
root@srv1 ~ # /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain domain.tld
Warning: Current locale is unusable. Using 'C' instead.

Any help or suggestions?
 
The correct name of system locale should be 'en_US.UTF-8'.
Please correct your 'export LANG' command. Also make sure that default system locale stored in the '/etc/sysconfig/i18n' file is 'en_US.UTF-8' too.
 
Hello Igor,

how-to correct 'export LANG' command? And i do not have a folder called /etc/sysconfig/i18n

Instead i tried this, but it do not work! See the output please!

Code:
root@srv1 ~ # dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
locales-all installed, skipping locales generation
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
root@srv1 ~ # /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain orcarescues.org
Warning: Current locale is unusable. Using 'C' instead.
root@srv1 ~ # cd /usr/bin/locale
-bash: cd: /usr/bin/locale: Not a directory
root@srv1 ~ #
 
Last edited:
What sort of output of following command:

# locale

?
Actually setting locale is Linux administrative task not related to Plesk.
 
I get this Igor...

root@srv1 ~ # locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
root@srv1 ~ #
 
Status
Not open for further replies.
Back
Top