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 » IBM MQ Security » Getting AMQ8135: Not authorized error while runmqsc

Post new topic  Reply to topic
 Getting AMQ8135: Not authorized error while runmqsc « View previous topic :: View next topic » 
Author Message
SCTMBI
PostPosted: Wed Sep 21, 2011 7:01 am    Post subject: Getting AMQ8135: Not authorized error while runmqsc Reply with quote

Novice

Joined: 21 Sep 2011
Posts: 23

Hi,
I was able to connect to the queuemanager on linux box few days back but suddenly today I am getting the error as below while I am doing runmqsc on that queuemanager.
"Starting MQSC for queue manager GCXLDEV2.


AMQ8135: Not authorized.

No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
"
I checked my userid is also added in mqm group as before.
Pls advise ....

Thanks,
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 21, 2011 7:07 am    Post subject: Re: Getting AMQ8135: Not authorized error while runmqsc Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

SCTMBI wrote:
I was able to connect to the queuemanager on linux box few days back but suddenly today I am getting the error as below while I am doing runmqsc on that queuemanager.


What's happened in the last few days? I don't mean what have you done, but what has been done by other teams (like sys admins).

Specifically check for changes to the running id, file system & file system ownership.

Also check that mqm is your primary group.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
SCTMBI
PostPosted: Wed Sep 21, 2011 10:51 am    Post subject: Reply with quote

Novice

Joined: 21 Sep 2011
Posts: 23

I checked under /opt/mqm/bin as below-

/opt/mqm/bin> ls -lrt runmqsc
-r-xr-xr-x 1 mqm mqm 17241 Apr 19 22:36 runmqsc*

I checked the permission of bin directory also as below-

/opt/mqm> ls -lrt
total 72
drwx------ 2 root root 16384 Jun 29 14:12 lost+found/
dr-xr-xr-x 3 mqm mqm 4096 Jun 30 15:18 properties/
dr-xr-xr-x 18 mqm mqm 4096 Jun 30 15:18 READMES/
dr-xr-xr-x 16 mqm mqm 4096 Jun 30 15:18 doc/
dr-xr-xr-x 2 mqm mqm 4096 Jun 30 16:38 tivoli/
dr-xr-xr-x 3 mqm mqm 4096 Jun 30 16:38 eclipseSDK33/
drwxr-xr-x 3 root root 4096 Jul 12 11:09 maintenance/
dr-xr-xr-x 2 mqm mqm 4096 Jul 12 11:09 licenses/
dr-xr-xr-x 5 mqm mqm 4096 Aug 1 09:10 lib64/
dr-xr-xr-x 6 mqm mqm 4096 Aug 1 09:10 lib/
dr-xr-xr-x 5 mqm mqm 4096 Aug 1 09:10 eclipse/
dr-xr-xr-x 2 mqm mqm 4096 Aug 1 09:11 bin/
dr-xr-xr-x 10 mqm mqm 4096 Aug 1 09:11 java/
dr-xr-xr-x 10 mqm mqm 4096 Aug 1 09:11 samp/
dr-xr-xr-x 4 mqm mqm 4096 Aug 1 09:11 inc/


Also,my id is under groups as below-
/home/in078158> id
uid=1283(in078158) gid=1203(mqm) groups=1203(mqm),30007(mqmsys60)

I cannot find where is the fault.Please help.......

Thanks in advance..
Back to top
View user's profile Send private message
muthum_2000
PostPosted: Tue Sep 27, 2011 6:40 am    Post subject: Reply with quote

Voyager

Joined: 10 Jul 2006
Posts: 85

Looks like your id is added to Local as well as NIS mqm group.

The security error was due to a conflict between the local userid and NIS+ userid I guess.

Please ask your unix admin to completely resent the list from NIS to local /etc/group.

This is something like refreshing and synchronising the local settings with NIS.

MQ present in local server will always look in for entries in /etc/group in local server and not in NIS i believe.
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Sep 27, 2011 1:45 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

muthum_2000 wrote:
Looks like your id is added to Local as well as NIS mqm group.

The security error was due to a conflict between the local userid and NIS+ userid I guess.

I didn't notice anything similar to this when I look at the OP's data. Where did you spot these things? Thanks
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Sep 27, 2011 1:48 pm    Post subject: Re: Getting AMQ8135: Not authorized error while runmqsc Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Vitor wrote:
Specifically check for changes to the running id, file system & file system ownership.

Good advice.

Quote:
Also check that mqm is your primary group.

This should not be necessary.
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 » IBM MQ Security » Getting AMQ8135: Not authorized error while runmqsc
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.