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 Authentication Manager 8.4 Patch 6 Readme 16Number of Views KeyNotFound exception when retrieving auto-generated key 7Number of Views 'java.lang.IllegalArgumentException' when retrieving a key 24Number of Views Error 'Failed to parse P12 file: status = 1795' when retrieving key 15Number of Views RSA September 2023 Release Announcements 32Number of Views
Trending Articles
RSA Authentication Manager 8.9 Setup and Configuration Guide How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA Authentication Manager 8.9 Release Notes (January 2026) Configure RSA Authentication Manager as a Secure Proxy Server for Cloud Access Service RSA Authentication Manager Upgrade Process
Don't see what you're looking for?