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 V22.214.171.124.
The dspmq command can be used to determine if the queue manager is "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
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)