Getting setlocale errors when logged in to ssh/bash

Avatar
  • updated
  • Answered

Basically every shell invocation causes: 

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)

I checked my .bash_profile and .bashrc, and I am pretty sure that I am not calling this or doing anything strange. So is there something wrong about the machines locales setup? When I run locale I get this:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF8
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=C.UTF-8

Pinned replies
Avatar
anonymous
  • Answer
  • Answered

Hello Sven,

Thank you for your question. Unfortunately, without more specific information regarding your system configuration and the commands being used it is difficult for us to provide specific advice to resolve this issue. For direct assistance with this issue I recommend contacting our 24/7 Technical Support team by emailing [email protected], calling 888.321.HOST(4678), or by starting a chat session via your Account Management Panel. Our Technical Support team will be happy to review your system configuration and provide account-specific advice.

Best Regards

Alyssa K

Avatar
anonymous
  • Answer
  • Answered

Hello Sven,

Thank you for your question. Unfortunately, without more specific information regarding your system configuration and the commands being used it is difficult for us to provide specific advice to resolve this issue. For direct assistance with this issue I recommend contacting our 24/7 Technical Support team by emailing [email protected], calling 888.321.HOST(4678), or by starting a chat session via your Account Management Panel. Our Technical Support team will be happy to review your system configuration and provide account-specific advice.

Best Regards

Alyssa K