ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » AMQ8135: Not authorized. executing mqsc commands using root

Post new topic  Reply to topic
 AMQ8135: Not authorized. executing mqsc commands using root « View previous topic :: View next topic » 
Author Message
arunindia
PostPosted: Mon Nov 24, 2008 4:59 am    Post subject: AMQ8135: Not authorized. executing mqsc commands using root Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Nov 24, 2008 5:09 am    Post subject: Re: AMQ8135: Not authorized. executing mqsc commands using r Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Mon Nov 24, 2008 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Mon Nov 24, 2008 5:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AMQ8135: Not authorized. executing mqsc commands using root
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.