VPS (OpenVZ)에 데비안 7 i386을 설치했습니다. 로케일을 제외한 모든 것이 제대로 작동합니다.
[...]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pl_PL.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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
[...]
내가 시도한 것 :
- 로케일 생성
update-locale LC_ALL="pl_PL.UTF-8"
--표시 : http://www.wklej.org/id/1248438/ apt-get install --reinstall locales
http://www.wklej.org/id/1248442/- 와 같은
dpkg-reconfigure locales
+ 설정pl_PL.UTF-8
,pl_PL.ISO-8859-2
또는en_US
: http://www.wklej.org/id/1248446/ export LC_ALL=pl_PL.UTF-8
(루트에서도) :-bash: warning: setlocale: LC_ALL: cannot change locale (pl_PL.UTF-8)
로케일을 표시하는 내용은 다음과 같습니다.
root:~# locale
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=pl_PL.UTF-8
LANGUAGE=
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
/ var / log에는 흥미로운 것이 없습니다. 저장소를 공식 + 제거 및 수동 설치 로케일로 변경해도 문제가 해결되지 않아 데비안 7을 새로 설치할 때마다 나타납니다.