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 Discussion » Deleting Ghost queues

Post new topic  Reply to topic
 Deleting Ghost queues « View previous topic :: View next topic » 
Author Message
pratik_oze
PostPosted: Wed Apr 19, 2006 5:01 am    Post subject: Deleting Ghost queues Reply with quote

Apprentice

Joined: 22 Jun 2004
Posts: 34

Can anybody guide me to how do i delete Ghost queues created.
Am using MQ 5.3. I was trying to delete some local queues but was not able to delete those because the error said they were in use.
so on investigation found that some ghost queues were created in path /var/mqm/qmgrs/queues.

I want to delete these queues.
Back to top
View user's profile Send private message
JT
PostPosted: Wed Apr 19, 2006 6:03 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

http://www.mqseries.net/phpBB2/viewtopic.php?t=11851
Back to top
View user's profile Send private message
pratik_oze
PostPosted: Wed Apr 19, 2006 7:08 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2004
Posts: 34

Thanks JT for that very useful info.So now going forward i would like to ask .to release the objects which i am not able to delete,is the restart of queue manger the only way that one can opt for?
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Apr 19, 2006 7:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Are you still trying to delete ghost q's (the other post advises against it). Or are you just simply trying to delete a "normal" mq queue via runmqsc or mqexplorer?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
JT
PostPosted: Wed Apr 19, 2006 7:27 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Identify the id of the process that has a handle open to the queue by issuing the command: display qstatus(qName) type(handle)

'Killing' the PID should release the handle and allow you to delete the queue.
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Apr 19, 2006 2:20 pm    Post subject: Re: Deleting Ghost queues Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

pratik_oze wrote:
I want to delete these queues.

May I ask, why do you want to do this?
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 Discussion » Deleting Ghost queues
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.