| Author | 
		  Message
		 | 
		
		  | dexter | 
		  
		    
			  
				 Posted: Tue Jun 07, 2011 4:29 am    Post subject: AMQ7026 Issue even though the group exists: SOLVED! | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 07 Jan 2011 Posts: 32 Location: Michigan, USA 
  | 
		  
		    
			  
				MQ v7, WMB v7, SLES v11
 
 
I'm trying to give 'put' permissions to a tester for a particular queue. I ran the setmqaut command against his group, but unfortunately, I get a 'group doesn't exist' error. The group does exist on the system.
 
Here are a few screenshots.
 
 
mqm@wmbsit1:~> setmqaut -m BRKQMSIT -n EDI.WMB.OUTBOUND.COMMON.BULK -t q -g wmb_testers_sit +put
 
AMQ7026: A principal or group name was invalid.
 
 
mqm@wmbsit1:~> groups c615506
 
c615506 : users wmb_testers_sit
 
 
The command runs successfully for the 'users' group.
 
mqm@wmbsit1:~> setmqaut -m BRKQMSIT -n EDI.WMB.OUTBOUND.COMMON.BULK -t q -g users +put
 
The setmqaut command completed successfully.
 
 
So, what do you guys think is going on here?
 
The only conclusion that I can draw is that 'setmqaut' can be run only against primary groups. Any insight would be greatly appreciated.
 
Also, please let me know if I missed some vital piece of info that I should have included in my post.
  Last edited by dexter on Thu Jun 09, 2011 5:55 am; edited 1 time in total | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Tue Jun 07, 2011 4:46 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Try
 
   
	| Code: | 
   
  
	| setmqaut -m BRKQMSIT -n EDI.WMB.OUTBOUND.COMMON.BULK -t q -g "wmb_testers_sit" +put  | 
   
 
 
 
It's more likely an issue with the _ in the group id than not. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dexter | 
		  
		    
			  
				 Posted: Tue Jun 07, 2011 4:52 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 07 Jan 2011 Posts: 32 Location: Michigan, USA 
  | 
		  
		    
			  
				
   
	| mqjeff wrote: | 
   
  
	Try
 
   
	| Code: | 
   
  
	| setmqaut -m BRKQMSIT -n EDI.WMB.OUTBOUND.COMMON.BULK -t q -g "wmb_testers_sit" +put  | 
   
 
 
 
It's more likely an issue with the _ in the group id than not. | 
   
 
 
 
That didn't work Jeff. But thank you nevertheless.
 
 
mqm@wmbsit1:~> setmqaut -m BRKQMSIT -n EDI.WMB.OUTBOUND.COMMON.BULK -t q -g "wmb_testers_sit" +put
 
AMQ7026: A principal or group name was invalid.
 
mqm@wmbsit1:~> setmqaut -m BRKQMSIT -n EDI.WMB.OUTBOUND.COMMON.BULK -t q -g 'wmb_testers_sit' +put
 
AMQ7026: A principal or group name was invalid.
 
mqm@wmbsit1:~> | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | skoobee | 
		  
		    
			  
				 Posted: Tue Jun 07, 2011 5:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 26 Nov 2010 Posts: 52
  
  | 
		  
		    
			  
				| Principal and group names can only be up to 12 chars long, not 15 like here. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dexter | 
		  
		    
			  
				 Posted: Tue Jun 07, 2011 7:38 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 07 Jan 2011 Posts: 32 Location: Michigan, USA 
  | 
		  
		    
			  
				
   
	| skoobee wrote: | 
   
  
	| Principal and group names can only be up to 12 chars long, not 15 like here. | 
   
 
 
 
Thank you Skoobee. I've conveyed the same to my system admin. Let's see if he agrees to change it. I'll send out an update once I have the group name changed and run the command against it. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dexter | 
		  
		    
			  
				 Posted: Thu Jun 09, 2011 5:51 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 07 Jan 2011 Posts: 32 Location: Michigan, USA 
  | 
		  
		    
			  
				Alright Skoobee, you're the man!
 
I had my UNIX admin change the group names to be less than 12 chars and the command ran successfully.
 
 
Thank you. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |