IBM InfoSphere Information Server, Version 11.3.1
Use these tips to troubleshoot problems that might occur with access-control checking in the MQ authorization service.
When a job that includes the WebSphere® MQ connector fails because of a problem with access-control checking, the connector reports MQ error 2035 (MQRC_NOT_AUTHORIZED). If the error is preceded by an informational message indicating that the connector is connecting to the queue manager, then the connector was not granted connect authorization for that queue. If the error is preceded by an informational message indicating that the connector was opening a queue, then the connector was not granted sufficient authorization to open the queue. The connector typically logs information about the queue that it tried to open and logs the open options that it specified when it tried to open the queue. By evaluating the open options, you can often determine which authorizations you need to grant.
Opening queue QUEUE1 with open options (MQOO_OUTPUT, MQOO_FAIL_IF_QUIESCING)
Open queue failed with reason code: 2035 (MQRC_NOT_AUTHORIZED);
CC_WSMQQueue; open(); CC_WSMQQueue.cpp; 372
From the MQOO_OUTPUT flag, you can conclude that the connector tried to open the queue for output.
9/13/2009 19:26:58 - Process(7008.130) User(MUSR_MQADMIN) Program(amqzlaa0.exe)
AMQ8077: Entity 'test' has insufficient authority to access object 'QUEUE1'.
EXPLANATION:
The specified entity is not authorized to access the required object. The
following requested permissions are unauthorized: put
ACTION:
Ensure that the correct level of authority has been set for this entity against
the required object, or ensure that the entity is a member of a privileged
group.
The information shows the user ID for which the
access-control check failed (test), the MQ object for which the check
failed (QUEUE1), and the authorization that was requested by the operation
(put).dspmqaut -m QMNAME -t queue -n QUEUE1 -p test
Entity test has the following authorities for object QUEUE1:
get
browse
crt