| Author | 
		  Message
		 | 
		
		  | toshi1234 | 
		  
		    
			  
				 Posted: Tue Dec 15, 2015 5:50 am    Post subject: AMQ6239 and AMQ7062 | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 Dec 2015 Posts: 21
  
  | 
		  
		    
			  
				Hi Everyone
 
 
O/s : Redhat 6.4
 
Mq :  7.5
 
IIB version : 9.0.0.4
 
 
Two machines node 1 and node2 both are on having same Os trying to setup multi instance queue managers and nfs shared drive is from node 1.
 
I can able to touch the shared drive from both nodes i can able to create and make changes to file from both the machines and also having users and groups with same uid's and gid's and also checked with file persmissions but while creating a queue manager pointing to that shared drive with options -md and -ld. Its giving an error
 
 
AMQ6239 : Permission denied attempting to access file system location
 
 
AMQ7052 : Permission denied attempting to access an INI file
 
 
 
Looking forward for help 
 
 
Thanks      | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Tue Dec 15, 2015 6:24 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				...  Can you connect to the drives/have them mounted with the mqm user? _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | toshi1234 | 
		  
		    
			  
				 Posted: Tue Dec 15, 2015 9:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 Dec 2015 Posts: 21
  
  | 
		  
		    
			  
				Yes i can able to connect to drive with mqm user ...   | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Tue Dec 15, 2015 9:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				what does the mq file system check command show... (amqsfskc? I forget). _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | toshi1234 | 
		  
		    
			  
				 Posted: Tue Dec 15, 2015 8:42 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 Dec 2015 Posts: 21
  
  | 
		  
		    
			  
				amqmfsck /shared/qmdata
 
 
Yes on Node 1 the message was The test on directory completed successfully.
 
 
But on Node 2 the message was
 
 
AMQ5667: Error executing system call 'chown()' on file
 
 
 
'shared/qmdata/amqmfsck.lck',errno 22 ('Invalid argument') | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue Dec 15, 2015 10:00 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				what does id show for user mqm in both servers?
 
Could it be that the name is the same but the uid and or gid are different?   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | toshi1234 | 
		  
		    
			  
				 Posted: Tue Dec 15, 2015 10:59 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 Dec 2015 Posts: 21
  
  | 
		  
		    
			  
				| uid and gid's are same on both the machines for mqm,iibadmin user | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | toshi1234 | 
		  
		    
			  
				 Posted: Tue Dec 15, 2015 11:59 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 Dec 2015 Posts: 21
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |