| Author | Message | 
		
		  | KIT_INC | 
			  
				|  Posted: Tue Apr 29, 2014 9:39 am    Post subject: MOT Authorized mqrc 2035 on cluster Q |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 | 
			  
				| I am running MQ V701 on Linux 
 I got 2035 not authorized error even with mqm ID
 (mqm) $ amqsput SCN.IN.QA QMCP04
 Sample AMQSPUT0 start
 target queue is SCN.IN.QA
 MQOPEN ended with reason code 2035
 unable to open queue for output
 Sample AMQSPUT0 end
 
 SCN.IN.QA is a cluster Q defined on another Qmgr and local Qmgr QMCP04 is a member of the same cluster.
 
 Any suggestion on where to look ?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | smdavies99 | 
			  
				|  Posted: Tue Apr 29, 2014 10:14 am    Post subject: |   |  | 
		
		  |  Jedi Council
 
 
 Joined: 10 Feb 2003Posts: 6076
 Location: Somewhere over the Rainbow this side of Never-never land.
 
 | 
			  
				| What are the object auths for the Queue? Could mqm have been deleted?
 
 
 Dump the queue manager or use MQExplorer.
 _________________
 WMQ User since 1999
 MQSI/WBI/WMB/'Thingy' User since 2002
 Linux user since 1995
 
 Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | KIT_INC | 
			  
				|  Posted: Wed Apr 30, 2014 8:07 am    Post subject: |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 | 
			  
				| Thanks for the response. I was just told that was an AMS protected Q. That's why I am getting 2035. I expected that to be some other code (like security error) instead of 2035 which confused me a little. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Vitor | 
			  
				|  Posted: Wed Apr 30, 2014 9:18 am    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 11 Nov 2005Posts: 26093
 Location: Texas, USA
 
 | 
			  
				| 
   
	| KIT_INC wrote: |  
	| I expected that to be some other code (like security error) instead of 2035 which confused me a little. |  
 2035 is a security error - NOT_AUTHORIZED - so what's the confusion?
 
 You can (under some conditions) get a 2035 for mqm under WMQv7.5 even without AMS. Freaky,.
 _________________
 Honesty is the best policy.
 Insanity is the best defence.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | longnguk | 
			  
				|  Posted: Wed Apr 30, 2014 5:45 pm    Post subject: |   |  | 
		
		  | Novice
 
 
 Joined: 16 Aug 2006Posts: 19
 Location: Phoenix
 
 | 
			  
				| Typically, you would get more details about the error in the error log, e.g. in v7.5 you would see the error indicates what authority is expected e.g. put/get/inq authority etc. 
 With AMS in the mix, there sometime are additional entries in the error log to give you more hints e.g. keystore not found, cert mismatched, label not found etc.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |