How to Stopping a QMGR Manually on LINUX / UNIX

Stopping a QMGR Manually on LINUX / UNIX

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:

    Table 1. UNIX and Linux processes to be stopped if running
    Process nameDescription
    amqzmuc0Critical process manager
    amqzxma0Execution controller
    amqzfumaOAM process
    amqzlaa0LQM agents
    amqzlsa0LQM agents
    amqzmuf0Utility Manager
    amqzmur0Restartable process manager
    amqzmgr0Process controller
    amqfqpubPublish Subscribe process
    amqfcxbaBroker worker process
    amqrmppaProcess pooling process
    amqcrstaNon-threaded responder job process
    amqcrs6bLU62 receiver channel and client connection
    amqrrmfaThe repository process (for clusters)
    amqpcseaThe command server
    runmqtrmInvoke a trigger monitor for a server
    runmqdlqInvoke dead-letter queue handler
    runmqchiThe channel initiator process
    runmqlsrThe channel listener process
    NoteYou can use the kill -9 command to end processes that fail to stop.

Comments

Unknown said…
Can we use
endmqm also ?
agmindia said…
Thank you, for sharing such a great blog.

http://agmsearchindia.com/blog/