How to fix: setlocale: LC_ALL: cannot change locale (): No such file or directory
Issue
"sh: warning: setlocale: LC_ALL: cannot change locale (en_US.roman8): No such file or directory"
When trying to change to a locale, we get the "No such file or directory" message.
Environment
- Red Hat Enterprise Linux 5 (RHEL 5)
- Red Hat Enterprise Linux 6 (RHEL 6)
- Red Hat Enterprise Linux 7 (RHEL 7)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.