• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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