| Author | 
		  Message
		 | 
		
		  | SCTMBI | 
		  
		    
			  
				 Posted: Wed Sep 21, 2011 7:01 am    Post subject: Getting AMQ8135: Not authorized error while runmqsc | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Wed Sep 21, 2011 7:07 am    Post subject: Re: Getting AMQ8135: Not authorized error while runmqsc | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | SCTMBI | 
		  
		    
			  
				 Posted: Wed Sep 21, 2011 10:51 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | muthum_2000 | 
		  
		    
			  
				 Posted: Tue Sep 27, 2011 6:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Tue Sep 27, 2011 1:45 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Tue Sep 27, 2011 1:48 pm    Post subject: Re: Getting AMQ8135: Not authorized error while runmqsc | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |