IBM Support

IT29238: "AMQ7047E: An unexpected error was encountered by a command" received when installing the MQSeriesWeb component in Docker

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

  • When performing an MQSeriesWeb installation into Docker
    creating an instance fails and the following is seen in the
    /opt/mqm/web/etc/server.env file
    
    WLP_USER_DIR=/var/mqm/web/installations/AMQ7047E: An
    unexpected error was encountered by a command. Reason
    code is 0.
    

Local fix

  • The problem can be resolved by adding a call to crtmqdir
    BEFORE dpkg:
    
    /opt/mqm/bin/crtmqdir -f -s.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Any users installing the mqweb component where the /var/mqm
    filesystem is not mounted could be affected by this problem.
    
    
    Platforms affected:
    Linux on Power, Linux on S390, Linux on x86-64, Linux on zSeries
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    The dspmqver command run during installation may fail, for
    example if /var/mqm is not mounted. If dspmqver failed, this
    incorrectly caused the installation of the mqweb server
    component to silently fail when discovering the installation
    details
    

Problem conclusion

  • The MQSeriesWeb component installation logic has been modified
    to fail the installation with a meaningful error message to the
    user if the dspmqver command fails.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 CD    9.1.4
    v9.1 LTS   9.1.0.4
    
    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

    IT29238

  • 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

    2019-05-23

  • Closed date

    2019-09-27

  • Last modified date

    2019-09-27

  • 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:
27 September 2019