Start or Stop WebSphere MQ manager in Linux

Home > Search
  by

If using MQ Explorer

To start a queue manager, right-click on the queue manager and select Start > Start as Created and select OK. The status of the queue manager should be Running.

 

To stop a queue manager, right-click on the queue manager and select Stop > Controlled or Stop > Immediate and select OK. The status of the queue manager should be Stopped.

 


If using Linux command line

Switch to the mqm user.

~]# su - mqm

 

Display the managers that exist on the system. Let's say there is a manager named MANAGER01. In this example, the manager is not running.

~]# /opt/mqm/bin/dspmq
QMNAME(MANAGER01)                    STATUS(Ended unexpectedly)

 

Start the manager queue.

~]# /opt/mqm/bin/strmqm MANAGER01
. . .
IBM MQ queue manager 'MANAGER01' starting using v9.0.4.0.

 

Display the managers again. Now, MANAGER01 is running.

~]# /opt/mqm/bin/dspmq
QMNAME(MANAGER01)                    STATUS(Running)

 

Stop the manager queue.

~]# /opt/mqm/bin/endmqm MANAGER01

 

Return to your user account.

~]# exit


Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments