|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Error while kill the amqrmppa process | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | rpgangadhar | 
		  
		    
			  
				 Posted: Thu Apr 10, 2014 2:44 am    Post subject: Error while kill the amqrmppa process | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 10 Apr 2014 Posts: 1
  
  | 
		  
		    
			  
				Hello, 
 
 
Please help anyone!
 
 
Iam getting error as " not owner " while iam trying tho kill the hung process amqrmppa(ppa) in one of linux remote system.
 
 
I have all credentials as mqm admin.
 
 mqm  8503 26046   0   Apr 07 ?           0:37
 
 
bash-3.2$ kill -9 8503
 
bash: kill: (8503) - Not owner
 
 
 
Much appreciate your quick responce.   
 
 
Thanks,
 
RP | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | JosephGramig | 
		  
		    
			  
				 Posted: Thu Apr 10, 2014 5:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand Master
 
 Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA 
  | 
		  
		    
			  
				Consider this script for truly stopping the Qmgr.
 
 
When the Linux image is shutdown or rebooted, you want to call this script for each Qmgr. You might what to call the corresponding start script for each or select Qmgrs on boot of the Linux image.
 
 
For the health of the system, ensure you never start or stop the Qmgr with any ID other than mqm on UNIX. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | tczielke | 
		  
		    
			  
				 Posted: Thu Apr 10, 2014 5:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Guardian
 
 Joined: 08 Jul 2010 Posts: 943 Location: Illinois, USA 
  | 
		  
		    
			  
				If you are trying to send a kill signal to a process in Linux, my understanding is that you need to do it from the id that the process is running under or be the super user.  There may be other subtle rules at play here, but for example:
 
 
If my queue manager process on Linux is running under the mqm id:
 
 
USER       PID     ELAPSED     TIME COMMAND
 
mqm      32057    20:32:26 00:00:00 /opt/mqm/bin/runmqtrm -m qmgr
 
 
And my id a12345 is in the mqm group, but I try and send a kill signal to pid 32057 from my a12345 id, I get the following:
 
 
kill -9 32057
 
kill: 32057: permission denied
 
 
If I su to mqm and then send the kill signal from the mqm id, it will work.
 
 
It sounded like from you explanation that you may have not been sending the kill signal from the mqm id. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |