IBM Support

IT18081: BAD FILE DESCRIPTOR FDC WHEN WRITING LOG MESSAGE FROM USER APPLICATION WITHOUT AUTHORITY ON LOGS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • An MQ failure data capture (FDC) record is generated reporting
    probe ID XC402011 when an application without permission to
    write to its MQ installation's error log encounters a loggable
    error condition.
    
    +---------------------------------------------------------------
    --------------+
    |
                  |
    | WebSphere MQ First Failure Symptom Report
                                      |
    | =========================================
                                      |
    |
                  |
    | Probe Id          :- XC402011
                                                  |
    | Application Name  :- MQM
                                                       |
    | Component         :- xeeOpenFiles
                                              |
    | SCCS Info         :-
    /build/slot1/p800_P/src/lib/cs/amqxeida.c,             |
    | Major Errorcode   :- xecF_E_UNEXPECTED_SYSTEM_RC
                               |
    | Minor Errorcode   :- OK
                                                        |
    | Probe Type        :- MSGAMQ6119
                                                |
    | Probe Severity    :- 2
                                                         |
    | Probe Description :- AMQ6119: An internal WebSphere MQ error
    has occurred   |
    |   ('9 - Bad file descriptor' from open.)
                                       |
    | FDCSequenceNumber :- 0
                                                         |
    | Arith1            :- 9 (0x9)
                                                   |
    | Comment1          :- '9 - Bad file descriptor' from open.
                      |
    
    
    MQM Function Stack
    MQCONNX
    MQCONNX
    reqDoConnect
    rrxReportError
    xcsDisplayMessageForSubpool
    xcsDisplayMessage
    xeeOpenFiles
    xcsFFST
    
    
    Other MQ API calls may appear in the function stack instead of
    MQCONNX, however the final three lines of the stack will be
    identical.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of IBM MQ version 8, running MQ
    applications under a user ID which does not have write access to
    the MQ error log (AMQERR0*.LOG) within its MQ installation.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    A coding error within the MQ common services routines used by MQ
    client applications meant that a failure to open the MQ error
    log file was not correctly handled, and subsequent additional
    operations were attempted on the file, resulting in the bad file
    descriptor error and FDC record.
    

Problem conclusion

  • The MQ common services routines have been updated to correctly
    handle a failure to open the MQ error log due to a permissions
    error, and request that the message be logged by and MQ process
    with appropriate permissions on the MQ error log.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v8.0       8.0.0.6
    
    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

    IT18081

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7251

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-22

  • Closed date

    2016-11-30

  • Last modified date

    2017-03-10

  • 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

    WMQ BASE MULTIP

  • Fixed component ID

    5724H7251

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.0.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
10 March 2017