FreeKB - IBM MQ start queue manager using the strmqm command
IBM MQ - start queue manager using the strmqm command

These examples are based on Linux. Switch to the mqm user.

su - mqm


The strmqm command can be used to start a queue manager. In this example, MANAGER01 is started.

strmqm MANAGER01

IBM MQ queue manager 'MANAGER01' starting.
The queue manager is associated with installation 'Installation1'.
6 log records accessed on queue manager 'MANAGER01' during the log replay phase.
Log replay for queue manager 'MANAGER01' complete.
Transaction manager state recovered for queue manager 'MANAGER01'.
IBM MQ queue manager 'MANAGER01' started using V9.1.0.3.


The dspmq command can be used to determine if the queue manager is "Running".



However, even when the dspmq command returns "running", the systemctl command or service commands may show that the queue manager is not running.

Job for example.service failed because the control process exited with error code. See "systemctl status example.service" and "journalctl -xe" for details.


If your system is using systemd, use the systemctl command to start and enable the queue manager.

systemctl enable MANAGER01
systemctl start MANAGER01
systemctl status MANAGER01


If your system is using init, use the chkconfig and service commands to start and enable the queue manager.

chkconfig MANAGER01 on
service MANAGER01 start
service MANAGER01 status


The qmstatus command can be used to show when the queue manager was started.

echo "display qmstatus startda startti" | runmqsc MANAGER01
. . .
QMNAME(MANAGER01)                       STATUS(Running)
STARTDA(2021-02-25)                     STARTTI(21.30.58)


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 843ee in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |