Author |
Message
|
pratik_oze |
Posted: Wed Apr 19, 2006 5:01 am Post subject: Deleting Ghost queues |
|
|
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 |
|
 |
JT |
Posted: Wed Apr 19, 2006 6:03 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
pratik_oze |
Posted: Wed Apr 19, 2006 7:08 am Post subject: |
|
|
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 |
|
 |
wschutz |
Posted: Wed Apr 19, 2006 7:12 am Post subject: |
|
|
 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 |
|
 |
JT |
Posted: Wed Apr 19, 2006 7:27 am Post subject: |
|
|
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 |
|
 |
mvic |
Posted: Wed Apr 19, 2006 2:20 pm Post subject: Re: Deleting Ghost queues |
|
|
 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 |
|
 |
|