000030689 - AM8 Web-Tier Error on Japanese Langauge OS  LookupError: unknown encoding 'euc-jp-linux'

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000030689
Applies ToRSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.1.0 SP1 P4 Web Tier
Platform: 2-byte Language, Japanese RHEL 6 Linux
Platform (Other): null
O/S Version: Red Hat Enterprise Linux 6.x
Product Name: null
Product Description: null
IssueWhen running ./rsaserv status on web-tier display is returned LookupError: unknown encoding 'euc-jp-linux'
[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'
CauseLanguage Pack imported, but LANG env variable missing
Problem is not with codecs.lookup("euc-jp-linux")
Resolutionneed to export the UTF-8 instead of the euc
    export LANG="ja_JP.UTF-8"
Japan
Workaroundresolution
NotesEngineering thinks that that Japanese in UTF-8 is supported, but AM probably doesn't support the EUC encoding. 
So you need to export the env UTF-8 instead of the jp.euc

Attachments

    Outcomes