Author |
Message
|
ramesh80 |
Posted: Sun Apr 17, 2022 1:03 am Post subject: rcdmqimg Error |
|
|
Novice
Joined: 22 Oct 2018 Posts: 20
|
HI ,
I am getting the below error when running the rcdmqimg command on my qmgr.How do i know which object has failed.I dont see anything in the qmgr errors.Is there any other place where i can get the details
rcdmqimg -l -m QM082502 -t all \*
AMQ7467: The oldest log file required to start queue manager QM082502 is S0014152.LOG.
AMQ7468: The oldest log file required to perform Media recovery of queue manager QM082502 is S0009813.LOG.
AMQ8190: /opt/mqm/bin/rcdmqimg succeeded on 174 objects and failed on 1 |
|
Back to top |
|
 |
hughson |
Posted: Sun Apr 17, 2022 2:24 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
You should see output from the rcdmqimg command for each object it has recorded, thus:-
Code: |
Media image for object MQG1, type catalogue recorded.
Media image for object MQG1, type qmgr recorded.
Media image for object SYSTEM.DEFAULT.PROCESS, type process recorded.
Media image for object SYSTEM.DEFAULT.NAMELIST, type namelist recorded.
: |
Does that not give you a clue where it failed?
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
ramesh80 |
Posted: Sun Apr 17, 2022 3:09 am Post subject: |
|
|
Novice
Joined: 22 Oct 2018 Posts: 20
|
It actually gave the below error in the output.
AMQ7087: Object KMQ.IRA.AGENT.QUEUE.6257DED020004EC9, type queue is a temporary object
All other objects says media image is recorded.
But when tried to run the rcdmqimg on a different qmgr it went fine and it also has the above error for the same KMQ queue, but did not display any error.
is there any cmd to exclude this temp queue and run rcdmqimg . |
|
Back to top |
|
 |
hughson |
Posted: Sun Apr 17, 2022 3:18 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
ramesh80 wrote: |
It actually gave the below error in the output.
AMQ7087: Object KMQ.IRA.AGENT.QUEUE.6257DED020004EC9, type queue is a temporary object |
I don't think this is an error, I would say this is informational, just letting you know that temporary queues are not recorded. Your experience on the other queue manager seems to align with that.
ramesh80 wrote: |
AMQ8190: /opt/mqm/bin/rcdmqimg succeeded on 174 objects and failed on 1 |
What is the count of objects it has mentioned as being successful in the output? Does it match the 174?
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
ramesh80 |
Posted: Sun Apr 17, 2022 3:58 am Post subject: |
|
|
Novice
Joined: 22 Oct 2018 Posts: 20
|
NO the count is not matching, i can see only 155 objects in the o/p.
btw i see the below error.
AMQ7084: Object SYSTEM.CHANNEL.SYNCQ, type queue damaged.
I dont think i can recover the object using the rcrmqobj .
any suggestion to recover the object or can it be recreated ? |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Apr 17, 2022 4:40 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
ramesh80 wrote: |
AMQ7084: Object SYSTEM.CHANNEL.SYNCQ, type queue damaged.
I dont think i can recover the object using the rcrmqobj .
any suggestion to recover the object or can it be recreated ? |
Have you tried to recover it from a prior rcdmqimg? What were the results? _________________ 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. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Apr 17, 2022 9:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ramesh80 wrote: |
NO the count is not matching, i can see only 155 objects in the o/p.
btw i see the below error.
AMQ7084: Object SYSTEM.CHANNEL.SYNCQ, type queue damaged.
I dont think i can recover the object using the rcrmqobj .
any suggestion to recover the object or can it be recreated ? |
Why would you think that? have you tried it?
It would be the first thing I'd try. Then I'd try and rcdmqimg for that queue to make sure the logs are getting freed...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ramesh80 |
Posted: Sun Apr 17, 2022 6:33 pm Post subject: |
|
|
Novice
Joined: 22 Oct 2018 Posts: 20
|
Yes, i had tried but the media image is not available
mqm@isp825:/opt/mqm/bin> ./rcrmqobj -m QM082502 -t qlocal SYSTEM.CHANNEL.SYNCQ
AMQ7042: Media image not available for object SYSTEM.CHANNEL.SYNCQ of type
qlocal. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Apr 17, 2022 7:49 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
A search for the AMQ7042 message yielded this:
Quote: |
Explanation
The media image for object <insert_3>, type <insert_4>, is not available for media recovery. A log file containing part of the media image cannot be accessed.
Response
A previous message indicates which log file could not be accessed. Restore a copy of the log file and all subsequent log files from backup. If this is not possible, you must delete the object instead. |
Did you do these? _________________ 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. |
|
Back to top |
|
 |
ramesh80 |
Posted: Sun Apr 17, 2022 8:02 pm Post subject: |
|
|
Novice
Joined: 22 Oct 2018 Posts: 20
|
The back up of the logs are not available .
Can i delete this queue and recreate it .
as i see this queue is used for queue sharing groups which we dont have. |
|
Back to top |
|
 |
hughson |
Posted: Sun Apr 17, 2022 8:08 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
ramesh80 wrote: |
The back up of the logs are not available .
Can i delete this queue and recreate it . |
You have no other choice it would seem.
ramesh80 wrote: |
as i see this queue is used for queue sharing groups which we dont have. |
This queue is not used for Queue Sharing Groups. You are not on a z/OS queue manager here so it could not be used for that. This queue, SYSTEM.CHANNEL.SYNCQ, holds the STOPPED and RETRYING state for channels, so you may find that if you had any channels that you had put into STOPPED state that this has been forgotten. Also, any channels that were RETRYING, you should manually START again, because they will not remember that they need to do this automatically.
Suggest you record a media image of all your queues once you get it recreated, and then look into the V9.0.2 feature of Automatic Log Management and Taking media images automatically - start reading here.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
ramesh80 |
Posted: Sun Apr 17, 2022 11:21 pm Post subject: |
|
|
Novice
Joined: 22 Oct 2018 Posts: 20
|
Thanks All, I have recreated the queue and rcdmqimg ran now without errors. |
|
Back to top |
|
 |
|