Troubleshooting
Problem
You try to start runmqsc to administer your WebSphere MQ (WMQ) queue manager but it fails to start with error message AMQ8135 reporting that you are not authorized to run the command. Your user id is authorized to run the command.
Symptom
IBM1:/myhome $ runmqsc MQTST1
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager MQTST1.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
IBM1:/myhome $
Cause
In this case the permissions for the runmqsc binary were not correct..
Resolving The Problem
The permissions for the runmqsc binary must be:
AIX:
-r-sr-s--- 1 mqm mqm sssss MMM DD YYYY /usr/mqm/bin/runmqsc
Others:
-r-sr-s--- 1 mqm mqm sssss MMM DD YYYY /opt/mqm/bin/runmqsc
Reset the permissions of the runmqsc binary in your system to the correct value.
Note another fix that was found
Ensure that in /etc/fstab the nosuid bit should not be set for the volume where the code for MQ is installed.
Product Synonym
WMQ MQ
Was this topic helpful?
Document Information
Modified date:
22 June 2018
UID
swg21442991