|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
AMQ8135: Not authorized. executing mqsc commands using root |
« View previous topic :: View next topic » |
Author |
Message
|
arunindia |
Posted: Mon Nov 24, 2008 4:59 am Post subject: AMQ8135: Not authorized. executing mqsc commands using root |
|
|
Newbie
Joined: 24 Nov 2008 Posts: 1
|
We are using MQ Series 6.0.2.0 on SUSE Linux Version 10.
We have 3 Queue Managers running in the same box.
We want to execute MQSC commands on the Queue Managers using root user.
We are able to execute MQSC commands on 2 Queue Managers.
But when we give runmqsc Queue Managers Name for the third Queue Manager we are getting the following error.
abcd:~ # runmqsc SAMPLE
5724-H72 (C) Copyright IBM Corp. 1994, 2005. ALL RIGHTS RESERVED.
Starting MQSC for queue manager SAMPLE.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 24, 2008 5:09 am Post subject: Re: AMQ8135: Not authorized. executing mqsc commands using r |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
arunindia wrote: |
We want to execute MQSC commands on the Queue Managers using root user. |
Why?
arunindia wrote: |
But when we give runmqsc Queue Managers Name for the third Queue Manager we are getting the following error.
|
So on 2 boxes root has been given the relevant permissions, and on the 3rd it hasn't. Check the permission & membership of the user.
Or start using mqm to issue WMQ commands. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Mon Nov 24, 2008 5:14 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Check what authorities have been set for root on the other two queue managers and replicate that to the third queue manager. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Nov 24, 2008 5:05 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Its generally not a good idea to run MQ admin commands directly from root. It may cause problems with resource ownership. If you need to run something from root, su to mqm and then run the command, eg.
su - mqm -c "strmqm MYQMGR" _________________ Glenn |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|