Crackjet
LC_TYPE: cannot change locale
Each time when I install a fresh CentOS 6.x server, I will get the following error when I ssh into the server.
Last login: Mon Jul 21 05:30:39 2014
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
After searching and found the reason was because my server’s environment was no configured with the default locale. The solution I get from this webpage was to edit the /etc/environment file and enter the following two lines. You may set your own preferred language locale.
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
Another problem solved and remembered.
R.I.P MH17 Passengers and Crew - 17 July 2014
Related
Recent Comments
- Rakesh Kumar on PuttyCM – Object reference not set to an instance of an object error
- pvleworm on PuttyCM – Object reference not set to an instance of an object error
- gazelle on PuttyCM – Object reference not set to an instance of an object error
- Victor on PuttyCM – Object reference not set to an instance of an object error
- Varg on PuttyCM – Object reference not set to an instance of an object error
Categories
Tags
afsql error All Mail All Mail folder allow_url_fopen brute force cannot change locale capicom.dll CAPICOM:DLL compact vhdx cpanel custom ehlo environment exim Gmail hack helo HP QC HP Quality Center IMAP ini_set LC_CTYPE mikrotik No such file or directory Outlook Outlook 365 Outlook 2013 Outlook 2016 php php.ini PowerShell proxylizer PuttyCM Putty Connection Manager setlocale slow login smtp spam sshd sshd slow syslog-ng syslog-ng-dbi Unexpected Error vhdx ylmf-pc