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 IndexGeneral IBM MQ SupportMQ media log not advancing

Post new topicReply to topic Goto page 1, 2  Next
MQ media log not advancing View previous topic :: View next topic
Author Message
paustin_ours
PostPosted: Fri Aug 14, 2020 5:45 pm Post subject: MQ media log not advancing Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

Circular logging. Last log file needed for media recovery not advancing even though i run a rcdimg log clean up script. I see the media images are getting recorded but the qmstatus still shows a log file that is long gone. It is not even there anymore.

how do i get it to advance.

dspmqtrn doesnt show this log file that is pointing to either.
Back to top
View user's profile Send private message Yahoo Messenger
hughson
PostPosted: Fri Aug 14, 2020 9:06 pm Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1512
Location: Bay of Plenty, New Zealand

Was it a typo when you said "Circular logging" or are you truly using circular logging? The reason I ask is because media recovery is not possible on a queue manager using a circular log. If you run the rcdmqimg command, it will tell you that.

Either way can you show us the command and the output of running the rcdmqimg command(s), and the output of MQSC command DISPLAY QMSTATUS ALL

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
paustin_ours
PostPosted: Sat Aug 15, 2020 5:40 am Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

oops my bad. It is Linear. No idea why i put Circular.
Back to top
View user's profile Send private message Yahoo Messenger
paustin_ours
PostPosted: Sat Aug 15, 2020 6:00 am Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

rcdmqimg -m $1 -l -t all '*'

QMNAME(*****) STATUS(RUNNING)
CONNS(235) CMDSERV(RUNNING)
CHINIT(RUNNING) INSTNAME(MQ80)
INSTPATH(******) INSTDESC(WMQ80013)
LDAPCONN(INACTIVE) STANDBY(NOPERMIT)
CURRLOG(S1546206.LOG) RECLOG(S1546204.LOG)
MEDIALOG(S1543204.LOG) STARTDA(2020-08-14)
STARTTI(22.52.24)

S1543204.LOG is not even there anymore. Since the FS filled up, had to manually delete and free up some space.
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Sat Aug 15, 2020 6:11 am Post subject: Reply with quote

Poobah

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

paustin_ours wrote:

S1543204.LOG is not even there anymore. Since the FS filled up, had to manually delete and free up some space.

Are you saying that you manually deleted the now-missing log file?
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Sat Aug 15, 2020 12:32 pm Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

Yes. Had to FS filled up.
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Sat Aug 15, 2020 12:45 pm Post subject: Reply with quote

Poobah

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

Ok. Your FS filled. What lead you to decide to delete a log file needed for media recovery? How big was the file?

The recommended practice is to archive (to another FS) log files you lo longer need. Otherwise, you should leave IBMs file system untouched.
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Sat Aug 15, 2020 2:48 pm Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

Anyway to make the qmgr recover?
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Sat Aug 15, 2020 3:02 pm Post subject: Re: MQ media log not advancing Reply with quote

Poobah

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

paustin_ours wrote:
i run a rcdimg log clean up script.

What script? What does it do exactly?

Other than reporting a non-existent log, what issue/problem are you facing?
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Sat Aug 15, 2020 3:18 pm Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

qmgr is running fine. The script runs

rcdmqimgand then IBM cleanlogs

since the media log is pointing to a non existent log file, subsequent log clean up script runs is not cleaning up logs. The FS keeps growing.
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Sat Aug 15, 2020 7:19 pm Post subject: Reply with quote

Poobah

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

By cleanlogs, do you mean MS62 https://www.ibm.com/support/pages/ms62-mqseries-linear-log-clean-script ? Or something else?
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Aug 15, 2020 8:09 pm Post subject: Reply with quote

Grand High Poobah

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

bruce2359 wrote:
By cleanlogs, do you mean MS62 https://www.ibm.com/support/pages/ms62-mqseries-linear-log-clean-script ? Or something else?

Never liked this one any much. Requires Perl...
Whereas there used to be the MS0L support pack Java archiving of linear logs... Alas it has been retired and doesn't even show up in the retired fix packs any more. I guess they really want to push you towards using the qmgr to archive its own logs...
See TRobs blog on the matter https://t-rob.net/2015/02/22/windows-mq-log-maintenance-that-really-works/
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hughson
PostPosted: Sun Aug 16, 2020 12:26 am Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1512
Location: Bay of Plenty, New Zealand

Can you show us your rcdmqimg script? Assume you have not recorded media images for all objects, and thus there is something that still requires the old log file. If you show us the command we might be able to tell you what is missing.

EDIT: Oops, I must have missed it before, I see that you did tell us the command:-

paustin_ours wrote:
rcdmqimg -m $1 -l -t all '*'


I see that you are using the -l flag which should tell you the log files now required, as part of the output of the command.

Can you show us the output when you run this command? Perhaps that will shed some light.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
paustin_ours
PostPosted: Sun Aug 16, 2020 3:12 am Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 660
Location: columbus,oh

we have over 50k queues and the output is an image recorded entry for each of them

at the end it has the below

Media image for object SYSTEM.SELECTION.EVALUATION.QUEUE, type queue recorded.
Media image for object SYSTEM.SELECTION.VALIDATION.QUEUE, type queue recorded.
AMQ7467: The oldest log file required to start queue manager ***** is S1546383.LOG.
AMQ7468: The oldest log file required to perform media recovery of queue manager ***** is S1543204.LOG.
cleanmqlogs: ****: Needed for Media Recovery: S1543204.LOG
cleanmqlogs: ****: Needed for Qmgr Restart: S1546385.LOG


as you can see it is still pointing to the S1543204.LOG
Back to top
View user's profile Send private message Yahoo Messenger
hughson
PostPosted: Sun Aug 16, 2020 3:16 am Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1512
Location: Bay of Plenty, New Zealand

Are there any of the objects that note an error to record their media image?

Does this command show up anything?

DISPLAY QS(*) WHERE(MEDIALOG EQ S1543204.LOG)

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum IndexGeneral IBM MQ SupportMQ media log not advancing
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.