If you are unable to stop a queue manager on AIX® or Linux® by using the endmqm command, you 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 AIX or 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
-
Find the process identifiers (PIDs) 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
-
End any queue manager processes that are still running by using the kill
command, specifying the PIDs discovered by using the ps command.
To end a process, use either
kill -KILL <pid> or the equivalent
kill -9 <pid> command.
You have to work through the PIDs you want to kill, one by one, issuing that command
each time.
Important: If you use any signal other than 9(SIGKILL)
the process probably will not stop and you will get unpredictable results.
End the processes in the following order:
Table 1. AIX and Linux processes to be stopped if running
| 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 |