APAR status
Closed as program error.
Error description
Before MQ 9.1.0.0 installation, LANG and LC_ALL were exported to ja_JP.eucjp which was already installed. During installation, a Failure Data Capture (FDC) record XC076012 was generated on crtmqinst because of "AMQ6047E: Conversion not supported." +--------------------------------------------------------------- | LVLS :- 9.1.0.0 | Product Long Name :- IBM MQ for Linux (x86-64 platform) | Probe Id :- XC076012 | Component :- xcsGetMessage | Program Name :- crtmqinst | LANG :- C | Major Errorcode :- xecX_E_CONV_NOT_SUP | Minor Errorcode :- OK | Probe Type :- MSGAMQ6047 | Probe Description :- AMQ6047E: Conversion not supported. | Comment1 :- Cat CCSID 819, user CCSID 5050, message ID '00007547'X | | Comment2 :- Check NLSPATH, LANG and LC_MESSAGES variables. See | | end of first FDC report in this file. | Comment3 :- See below for catopen attempts +--------------------------------------------------------------- MQM Function Stack icrMain icfCreateIniFileEntry xcsDisplayMessageForError xcsWriteDiagnosticMessages xcsDisplayMessage xcsGetMessage xcsFFST catpath errno=2 0x2376c90 2F6F7074 2F6D716D 2F6D7367 2F656E5F /opt/mqm/msg/en_ 0x2376ca0 55532F61 6D712E63 6174 US/amq.cat Environment Variables: LC_ALL=ja_JP.eucjp LC_MESSAGES=C LANG=C
Local fix
The problem here is the runtime_postinstall.sh script sets LANG and LC_MESSAGES to the C locale for the duration of the script. Setting LC_ALL=C and LANG=C prior to installation is a workaround to prevent the FFST from occurring.
Problem summary
**************************************************************** USERS AFFECTED: Users installing MQ with non-english locales and where MQ lacks data conversion tables from ASCII codepage 819 to the console codepage are affected. Platforms affected: Linux on Power, Linux on S390, Linux on x86-64, Linux on zSeries **************************************************************** PROBLEM DESCRIPTION: MQ installation scripts set LANG and LC_MESSAGES environment variables to a 'C' locale to ensure consistent formatting, for example when calling OS commands and parsing the output. The two environment variables only partially change effective locale settings. MQ binaries called from these scripts query the codepage of the attached console to perform data conversion on data such as messages - however the codepage is derived from the effective LC_CTYPE environment variable which is not overridden in the scripts. The consequence of this is that MQ may then lack data conversion tables to convert the message file to the target codepage and write an FFST, despite the installation being successful.
Problem conclusion
The installation script has been updated, fully overriding the locale settings for the duration of their execution. This code change affects the base MQ code and will only be resolved when consuming new installation media. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v9.1 CD 9.1.3 v9.1 LTS 9.1.0.3 The latest available maintenance can be obtained from 'WebSphere MQ Recommended Fixes' http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037 If the maintenance level is not yet available information on its planned availability can be found in 'WebSphere MQ Planned Maintenance Release Dates' http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309 ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IT27352
Reported component name
IBM MQ BASE MP
Reported component ID
5724H7271
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-12-14
Closed date
2019-04-17
Last modified date
2019-04-17
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
IBM MQ BASE MP
Fixed component ID
5724H7271
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 April 2019