Reputation: 1322
Currently I have a queue manager that no matter I do just fails to go away. I am trying to end it and delete it. This is in one of our development servers. Not sure what happened, our server went through host name changes. Currently when I do dspmq, I get:
QMNAME(QM_MIT) STATUS(Status not available)
endmqm says:
AMQ8146: WebSphere MQ queue manager not available.
dltmqm says:
AMQ8041: The queue manager cannot be restarted or deleted because processes,
that were previously connected, are still running.
AMQ7018: The queue manager operation cannot be completed.
I googled and found that listener needs to be killed, which I did. I am running WebSphere MQ v7.1 on Linux.
What else can I do?
Upvotes: 4
Views: 13309
Reputation: 31852
Do a ps-ef | grep qmgrname
to find any remaining processes that were running as part of the QMgr or that were attached to the QMgr.
Next, do a /opt/mqm/bin/amqiclen -x -F -m qmgrname
to get rid of any shared memory segments. The command will fail if you do not provide a fully-qualified path name and try to run it from your $PATH
or a relative path.
See WebSphere MQ utility amqiclen usage and description for more details.
Upvotes: 5