gitava / Big-Data-Study

For studying big data
2 stars 0 forks source link

/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such #25

Closed gitava closed 4 years ago

gitava commented 4 years ago

whenever log onto servers, there is the error

/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
gitava commented 4 years ago

as per https://blog.csdn.net/myembedded/article/details/89147221

[vagrant@hdp-node-01 ~]$ cat /etc/locale.conf
LANG="en_US.UTF-8"
[vagrant@hdp-node-01 ~]$ sudo vi /etc/locale.conf
[vagrant@hdp-node-01 ~]$ cat /etc/locale.conf
LANG="en_US.UTF-8"

LC_ALL="en_US.UTF-8"
gitava commented 4 years ago

Issue solved.