+

Search Tips | Advanced Search

Stopping a queue manager manually on UNIX and Linux

If we are unable to stop a queue manager on UNIX and Linux by using the endmqm command, we can try to stop the queue manager manually by ending any processes that are running and stopping the IBM MQ service.


About this task

To stop a queue manager on UNIX and Linux, complete the following steps.

If you stop the queue manager manually, FFST might be taken, and FDC files placed in /var/mqm/errors. This should not be regarded as a defect in the queue manager.

The queue manager will restart normally, even after you have stopped it using this method of stopping it manually.


Procedure

  1. Find the process IDs of the queue manager programs that are still running by using the ps command. For example, if the queue manager is called QMNAME, use the following command:
    ps -ef | grep QMNAME
    
  2. End any queue manager processes that are still running. Use the kill command, specifying the process IDs discovered by using the ps command.

    End the processes in the following order:

    Process name Description
    amqzmuc0 Critical process manager
    amqzxma0 Execution controller
    amqzfuma OAM process
    amqzlaa0 LQM agents
    amqzlsa0 LQM agents
    amqzmuf0 Utility Manager
    amqzmur0 Restartable process manager
    amqzmgr0 Process controller
    amqfqpub Publish Subscribe process
    amqfcxba Broker worker process
    amqrmppa Process pooling process
    amqcrsta Non-threaded responder job process
    amqcrs6b LU62 receiver channel and client connection
    amqrrmfa The repository process (for clusters)
    amqpcsea The command server
    runmqtrm Invoke a trigger monitor for a server
    runmqdlq Invoke dead-letter queue handler
    runmqchi The channel initiator process
    runmqlsr The channel listener process
    Note: We can use the kill -9 command to end processes that fail to stop.

Parent topic: Stopping a queue manager manually

Last updated: 2020-10-04