IBM Support

AMQ8135 when trying to use runmqsc in WMQ

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":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Configuration","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.0;8.0;7.5;7.1;7.0","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

WMQ MQ

Document Information

Modified date:
22 June 2018

UID

swg21442991