APAR status
Closed as program error.
Error description
The crtmqm command was executed to create an RDQM queue manager on a drbdpool volume group which had a size of zero ("VG Size"= 0). The crtmqm command encountered an internal error, caused by a divide by zero in xruQueryDiskUsageVolumeGroup. An example FDC follows: +--------------------------------------------------------------- --------------+ | | | IBM MQ First Failure Symptom Report | | ========================================= | | | | Date/Time :- Fri January 06 2023 17:00:03 UTC | | UTC Time :- 1673024403.252913 | | UTC Time Offset :- -300 (EST) | | UTC Date/Time :- 2023-01-06 17:00:03.252913 (1673024403252913) | | Host Name :- rdqm-01 | | Operating System :- Linux 4.18.0-372.32.1.el8_6.x86_64 | | OS Details :- Red Hat Enterprise Linux 8.6 (Ootpa) | | PIDS :- 5724H7251 | | LVLS :- 9.3.1.0 | | Product Long Name :- IBM MQ for Linux (x86-64 platform) | | Vendor :- IBM | | O/S Registered :- 1 (libmqmcs_r.so) Installed | | Data Path :- /var/mqm | | Installation Path :- /opt/mqm | | Installation Name :- Installation1 (1) | | License Type :- Production | | Probe Id :- XC130003 | | Application Name :- MQM | | Component :- xehExceptionHandler | | Source filename :- /build/jslot1/p930_P/src/lib/cs/unix/amqxerrx.c | | Line Number :- 1781 | | Build Date :- Sep 29 2022 | | Build Level :- p931-L220929.1 | | Build Type :- IKAP - (Production) | | Effective UserID :- 1050 (mqm) | | Real UserID :- 0 (root) | | Program Name :- crtmqm | | Arguments :- -sx -fs 500M RDQM1 | | Standard Streams :- 0 1 2 | | Addressing mode :- 64-bit | | LANG :- en_US.UTF-8 | | Process :- 88588 | | Process(Thread) :- 88588 | | Thread :- 1 | | Thread Name :- ProcessInit | | QueueManager :- RDQM1 | | Perf Counter :- <Unavailable> | | UserApp :- FALSE | | Last HQC :- 0.0.0-0 | | Last HSHMEMB :- 0.0.0-0 | | Last ObjectName :- | | Major Errorcode :- STOP | | Minor Errorcode :- OK | | Probe Type :- HALT6109 | | Probe Severity :- 1 | | Probe Description :- AMQ6109S: An internal IBM MQ error has occurred. | | FDCSequenceNumber :- 0 | | Arith1 :- 8 (0x8) | | Comment1 :- SIGFPE: integer divide by zero(0x7f7b82ad27af) | | | +--------------------------------------------------------------- --------------+ O/S Call Stack for current thread /opt/mqm/lib64/libmqmcs_r.so(+0x11596f)[0x7f7b82a1d96f] /opt/mqm/lib64/libmqmcs_r.so(+0x13da3a)[0x7f7b82a45a3a] /opt/mqm/lib64/libmqmcs_r.so(+0x13bd36)[0x7f7b82a43d36] /opt/mqm/lib64/libmqmcs_r.so(xcsFFSTFn+0x1edc)[0x7f7b82a4799c] /opt/mqm/lib64/libmqmcs_r.so(xehExceptionHandler+0x7da)[0x7f7b82 a36e9a] /usr/lib64/libpthread.so.0(+0x12ce0)[0x7f7b8127dce0] /opt/mqm/lib64/libmqmcs_r.so(+0x1ca7af)[0x7f7b82ad27af] /opt/mqm/lib64/libmqmcs_r.so(xcsLVMQueryVolumeGroupFreeSpace+0x7 2)[0x7f7b82a9fa82] /opt/mqm/lib64/libmqml_r.so(zslRDAddResource+0xa62)[0x7f7b837252 32] crtmqm[0x404b8b] /usr/lib64/libc.so.6(__libc_start_main+0xf3)[0x7f7b80cdccf3] crtmqm[0x40678b] MQM Function Stack zsllpiCreateQM zslRDAddResource xcsLVMQueryVolumeGroupFreeSpace xruQueryDiskUsageVolumeGroup xcsFFST
Local fix
Ensure the volume group has a size greater than zero.
Problem summary
**************************************************************** USERS AFFECTED: Those using IBM MQ's RDQM feature. Platforms affected: Linux on x86-64 **************************************************************** PROBLEM DESCRIPTION: A defect in the code meant that the crtmqm command failed to protect against the divide by zero error.
Problem conclusion
The defect has been fixed so that a meaningful error is reported to the user following an attempt to create an RDQM queue manager using a volume group with a size of zero. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v9.1 LTS 9.1.0.20 v9.2 LTS 9.2.0.15 v9.3 LTS 9.3.0.10 v9.x CD 9.3.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
IT43342
Reported component name
MQ BASE V9.2
Reported component ID
5724H7281
Reported release
920
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-03-13
Closed date
2023-04-18
Last modified date
2023-04-18
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
MQ BASE V9.2
Fixed component ID
5724H7281
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"920","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
19 April 2023