After starting the MQ Powerpack, you may notice that Queue Manager metrics fail to report and the following error appears in the MQ Powerpack logs:.
[ERROR] [com.wily.powerpack.websphereMQ.agent.MQMonitor.TracerDriverThread] MQMonitor: For configuration instance <QueueManager name>@<host name> and the drivers(manager, manager) an error occurred in sending a query to MQ. The target MQ (localhost:19100) is down. Reason code 2035 MQRC_NOT_AUTHORIZED
This error is caused when running the MQMonitor agent. It is due to the user having inadequate permissions to run the MQMonitor agent and connect to the Queue Manager. To resolve, try one of the following:
- If the server connection channel used by the MQMonitor agent is CLIENT.WILY and the MCA user ID is set to Wily, then the user "Wily" must be made a member of mqm group, so the MQMonitor agent can connect to the Queue Manager without problems.
- Alternatively, leave the MCA user ID blank so it becomes set to the default value of MQADMIN by the PCF APIs, and then becomes part of the mqm group.
The MQ command dspmqaut (display authority command) can be used to determine the authorization a user has for a MQ object. For additional troubleshootingsteps, also review the following IBM knowledge article for MQRC_NOT_AUTHORIZED errors ...... http://www-01.ibm.com/support/docview.wss?uid=swg21166937