LoginSignup
0
0

More than 1 year has passed since last update.

gcloudで cannot change locale のエラー

Last updated at Posted at 2021-09-08

エラー内容

macで以下のコマンドを打った時にエラー

$ gcloud compute scp --recurse ./hoge/* hogeserver:/etc/hoge
/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

解決方法

サーバー側の /etc/environment を開いて

vi /etc/environment

cannot change locale (UTF-8) と言われているので、以下を記述

LANG=UTF-8

参考

https://stackoverflow.com/questions/22430747/locale-error-in-centos
https://akamist.com/blog/archives/665

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0