IBM Support

AMQ8135 when trying to use runmqsc in WMQ

Technote (troubleshooting)


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.


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 $


In this case the permissions for the runmqsc binary were not correct..

Resolving the problem

The permissions for the runmqsc binary must be:

-r-sr-s--- 1 mqm mqm sssss MMM DD YYYY /usr/mqm/bin/runmqsc

-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 Alias/Synonym


Document information

More support for: WebSphere MQ

Software version: 7.0, 7.1, 7.5

Operating system(s): AIX, HP-UX, Linux, Solaris

Software edition: All Editions

Reference #: 1442991

Modified date: 02 July 2015

Translate this page: