RSA Authentication Manager 8.1 SP1 Patch 4 Web Tier error message "LookupError: unknown encoding 'euc-jp-linux'" in Japanese language OS
Originally Published: 2015-06-30
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.1 SP1 P4 Web Tier
Platform: 2-byte Language, Japanese RHEL 6 Linux
Issue
[root@jphybcld83 server]# ./rsaserv status
Running as rsaadmin...
Traceback (most recent call last):
File "/opt/RSASecurity/RSAAuthenticationManagerWebtier//components/ims/unix/rsaservManager.py", line 164, in <module>
ret = process()
File "/opt/RSASecurity/RSAAuthenticationManagerWebtier//components/ims/unix/rsaservManager.py", line 134, in process
operationStatus = service.status(dependency)
File "/opt/RSASecurity/RSAAuthenticationManagerWebtier//components/ims/unix/rsaServices.py", line 220, in status
masterServiceList[dep].status(1)
File "/opt/RSASecurity/RSAAuthenticationManagerWebtier//components/ims/unix/rsaServices.py", line 224, in status
self.controller.status(self.description);
File "/opt/RSASecurity/RSAAuthenticationManagerWebtier//components/ims/unix/rsaControllers.py", line 267, in status
print formatForStatus(serviceName, 'ok', 'RUNNING')
LookupError: unknown encoding 'euc-jp-linux'Cause
- The language pack was imported, but the LANG env variable missing.
- The problem is not with codecs.lookup("euc-jp-linux")
Resolution
LookupError: unknown encoding 'euc-jp-linux' [root@dwivep-RHEL server]# export LANG="ja_JP.UTF-8" [root@dwivep-RHEL server] locale LANG=JP.UTF-8 LC_CTYPE="ja_JP.UTF-8" LC_NUMERIC="ja_JP.UTF-8" LC_TIME="ja_JP.UTF-8" LC_COLLATE="ja_JP.UTF-8" LC_MONETARY="ja_JP.UTF-8" LC_MESSAGES="ja_JP.UTF-8" LC_PAPER="ja_JP.UTF-8" LC_NAME="ja_JP.UTF-8" LC_ADDRESS="ja_JP.UTF-8" LC_TELEPHONE="ja_JP.UTF-8" LC_MEASUREMENT="ja_JP.UTF-8" LC_IDENTIFICATION="ja_JP.UTF-8" LC_ALL= [root@dwivep-RHEL server] ./rsaserv status Running as devuaer... RSA Webtier Server [Running] [root@dwivep-RHEL server] #
Notes
Related Articles
RSA September 2023 Release Announcements 32Number of Views What is the originator info? 35Number of Views Cloud Administration Retrieve License Usage API Version 2 67Number of Views Error 'Failed to parse P12 file: status = 1795' when retrieving key 15Number of Views 'java.lang.IllegalArgumentException' when retrieving a key 24Number of Views
Trending Articles
How to Download OTP Token Seed Files from myRSA RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Release Notes for RSA Authentication Manager 8.8
Don't see what you're looking for?