authconfig is failing with error "return _setlocale(category, locale) locale.Error: unsupported locale setting"
Issue
- authconfig failed to update
/etc/nssswitc.conf
andPAM
config.
# authconfig --enablesssd --enablesssdauth --update
Traceback (most recent call last):
File "/usr/sbin/authconfig", line 33, in <module>
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib64/python2.6/locale.py", line 513, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Environment
- Red Hat Enterprise Linux 6 and later
- authconfig
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.