전산쟁이의 기억노트

RHEL환경에서 ssh 접속시 locale warning 메시지 출력시 조치사항 본문

RHEL8기술정보

RHEL환경에서 ssh 접속시 locale warning 메시지 출력시 조치사항

잘나가는전산쟁이 2022. 8. 6. 03:11
728x90
반응형
SMALL
  1. RHEL8 버전에서 ssh접속시 아래내용으로 setlocale 메시지가 출력하는 경우 해당서버에 필요한 언어팩이 없어서 발생한 것.
    Last login: Tue Sep 28 15:36:49 2021 from 192.168.0.10
    -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
    /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
    /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
    /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
  2. 조치사항
    $> yum install glibc-langpack-en -y
    Failed to set locale, defaulting to C.UTF-8
    Last metadata expiration check: 1:14:53 ago on Tue Sep 28 14:35:14 2021.
    Dependencies resolved.
    ===========================================================================================================================================================================================================
     Package                                                Architecture                                Version                                              Repository                                   Size
    ===========================================================================================================================================================================================================
    Installing:
     glibc-langpack-en                                      x86_64                                      2.28-151.el8                                         baseos                                      825 k
    
    Transaction Summary
    ===========================================================================================================================================================================================================
    Install  1 Package
    
    Total download size: 825 k
    Installed size: 6.0 M
    Downloading Packages:
    glibc-langpack-en-2.28-151.el8.x86_64.rpm                                                                                                                                  8.0 MB/s | 825 kB     00:00
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                      2.2 MB/s | 825 kB     00:00
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                                                                                                                                                   1/1
      Installing       : glibc-langpack-en-2.28-151.el8.x86_64                                                                                                                                             1/1
      Running scriptlet: glibc-langpack-en-2.28-151.el8.x86_64                                                                                                                                             1/1
      Verifying        : glibc-langpack-en-2.28-151.el8.x86_64                                                                                                                                             1/1
    
    Installed:
      glibc-langpack-en-2.28-151.el8.x86_64
    
    Complete!

 

RHEL환경에서 ssh 접속시 local... | igoni.kr

RHEL8 버전에서 ssh접속시 아래내용으로 setlocale 메시지가 출력하는 경우 해당서버에 필요한 언어팩이 없...

igoni.kr

 

 

728x90
반응형
LIST
Comments