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 » MQ Objects damaged

Post new topic  Reply to topic
 MQ Objects damaged « View previous topic :: View next topic » 
Author Message
SimplyAniket
PostPosted: Sat Sep 13, 2008 2:54 am    Post subject: MQ Objects damaged Reply with quote

Novice

Joined: 13 Sep 2008
Posts: 13

Hi,
I am trying to understand the hoe to recover damaged objects.

1.My queue manager is using circular logging.
2.Its on windows
3. Version 6.0

What i did is i deleted one queue file. I got the error as object damaged when i tried to display the queue. Then i stopped queue manager. Deleted q folder. started queue manager again and tried to recreate by using define ql command but still i am getting the same error as object damaged. I want to know how to create damaged objects in case of circular logging on both windows and linux platforms
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Sep 13, 2008 3:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

before trying to redefine the damaged object try deleting it again.
In order to recover damaged objects you need media recovery => linear logging. To get to linear logging use MS03 to record your qmgr config and delete and recreate your qmgr.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
SimplyAniket
PostPosted: Sat Sep 13, 2008 3:31 am    Post subject: Reply with quote

Novice

Joined: 13 Sep 2008
Posts: 13

hi,

thanx for suggestion but there is nothing to delete again. I have already deleted the folder. Is there any way to create damaged object again. If i simply give define ql it says object already exists. and when i give define ql (XXX) REPLACE it says object damaged. It means queue manages still has the log stored some where about that queue. Any suggestions?
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Sat Sep 13, 2008 6:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

SimplyAniket wrote:
hi,

thanx for suggestion but there is nothing to delete again. I have already deleted the folder. Is there any way to create damaged object again. If i simply give define ql it says object already exists. and when i give define ql (XXX) REPLACE it says object damaged. It means queue manages still has the log stored some where about that queue. Any suggestions?

listen to fjb_saper.

first delete the object (using DELETE QL(....) NOT delete the folder!)
then recreate using DEFINE etc...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bruce2359
PostPosted: Sat Sep 13, 2008 11:17 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

This is why you should not allow anyone or anything (except WMQ internals) to access to the file path.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.


Last edited by bruce2359 on Mon Sep 15, 2008 5:32 am; edited 1 time in total
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Sep 15, 2008 5:25 am    Post subject: Re: MQ Objects damaged Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

SimplyAniket wrote:
Hi,
I am trying to understand the hoe to recover damaged objects.

What i did is i deleted one queue file. I got the error as object damaged when i tried to display the queue. Then i stopped queue manager. Deleted q folder. started queue manager again and tried to recreate by using define ql command but still i am getting the same error as object damaged. I want to know how to create damaged objects in case of circular logging on both windows and linux platforms


most probably you could see the image of the deleted queue while doing mqsc scripts, but the link have been broken.
Thats the reason you are getting queue manager object damage error

stop the queue manager
start using -c option again start the queue manager as usually this will resolve the issue
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Sep 15, 2008 5:32 am    Post subject: Re: MQ Objects damaged Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Gaya3 wrote:
...start using -c option again start the queue manager as usually this will resolve the issue...


And just what would this do to resolve SimplyAniket's issue with a user queue?

SimplyAniket - when you tried to redefine the queue, did you specify the REPLACE option?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Sep 15, 2008 5:40 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I dug up my notes from the last time we had to do this ( a few years ago):



Quote:

1. (company specific prep work in this step)

2. Leave the QM running.

3. Delete the damaged queue file from the Queue Manager's queue directory in the file system.

4. Stop and restart the Queue Manager.

5. Delete the damaged queue using MQExplorer.

6. Recreate the queue via MQExplorer. Refer to previous MS03 backups to make sure you recreate it exactly as it was before.

7. If the damaged queue was a transmit queue, other queue definitions (Remote Queue Defs, QMAliases) were altered to use a temporary backup queue that replaced the damaged queue. Now is the time to alter all those to point back at the real queue you just recreated.

8. If the damaged queue was a transmit queue, alter the channel to refer to the correct transmit queue, and not the temporary backup transmit queue.

9. Close MQExplorer.

10. Have the QM brought down and up (use MSCS if it is a HA QM) to see if the QM is happy with the new queue. Open up MQ Explorer to verify.

_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
SimplyAniket
PostPosted: Fri Sep 19, 2008 12:27 pm    Post subject: Reply with quote

Novice

Joined: 13 Sep 2008
Posts: 13

Thanks for all your suggestions.. I used delete qlocal command .. and then was able to create the queue again... and yes i use REPLACE command..
I have one question left... Does it work same on Linux.. I deleted the queue file. when i fire display ql command i can see the queue ..but in windows i got object damaged.. Hows des?
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 » MQ Objects damaged
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.