ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Error while kill the amqrmppa process

Post new topic  Reply to topic
 Error while kill the amqrmppa process « View previous topic :: View next topic » 
Author Message
rpgangadhar
PostPosted: Thu Apr 10, 2014 2:44 am    Post subject: Error while kill the amqrmppa process Reply with quote

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
View user's profile Send private message
JosephGramig
PostPosted: Thu Apr 10, 2014 5:01 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
tczielke
PostPosted: Thu Apr 10, 2014 5:31 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Error while kill the amqrmppa process
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.