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 » Interprocess elements that could not be deleted

Post new topic  Reply to topic
 Interprocess elements that could not be deleted « View previous topic :: View next topic » 
Author Message
sbo
PostPosted: Fri Mar 21, 2003 12:53 pm    Post subject: Interprocess elements that could not be deleted Reply with quote

Newbie

Joined: 17 Mar 2003
Posts: 3
Location: Aachen, Germany

Hi,
I've a problem: After stopping the qeue manager I want to kill the interprocess elements by performing a

ipcrm -$type $ID

The command ipcs | grep mqm shows the following result:

m 1 0x400c361b --rw-rw-rw- root mqm
s 0 0x000c361b --ra-ra-ra- root mqm
s 1 0x000c0a18 --ra-ra-ra- root mqm

I do not have the permission to perform an ipcrm command with user mqm on the given elements. I assume it is because there are elements created by the root user.

Has anyone an idea why these elements were created by the root user? The installation has been made with the mqm user and all directories belong to the mqm user. The queue manager has been created and started by the mqm user, too.

Thanks for any help
sbo
Back to top
View user's profile Send private message
tillywern
PostPosted: Thu Mar 27, 2003 8:12 am    Post subject: Get help from Admin Reply with quote

Centurion

Joined: 28 Jan 2003
Posts: 109
Location: Colorado

MQ is notorious for leafing crap like this out in the OS while running… For this reason it is often beneficial to bounce MQ during off-line hours… I would work with you sys-admin to create a script that will shutdown queue mangers and clean up IPC elements. If elements are left and owned by root then the admin can add a sudo line that will remove them with root authority while not allowing mqm admins to know the root password..
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
tillywern
PostPosted: Thu Mar 27, 2003 11:47 am    Post subject: sudo Reply with quote

Centurion

Joined: 28 Jan 2003
Posts: 109
Location: Colorado

Additionally if MQ is being started automatically during the boot up process, inittab entries, then you may want to make sure that MQ is being started by the user mqm.. This should ensure that you won’t get amy IPC elements owned by root.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Interprocess elements that could not be deleted
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.