How to fix ipa error: "System encoding must be UTF-8 and iso8859-1 is not supported" while executing ipa host-show command
Issue
- getting 'iso8859-1' is not supported while executing ipa host-show
sh-4.4# kinit admin
Password for admin@EXAMPLE.COM:
sh-4.4#
sh-4.4#
sh-4.4# hostname
test1.example.com
sh-4.4# ipa host-show test1.example.com
ipa: ERROR: System encoding must be UTF-8, 'iso8859-1' is not supported. Set LC_ALL="C.UTF-8", or LC_ALL="" and LC_CTYPE="C.UTF-8".
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- ipa
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.