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 IBM MQ Support » When archive mq logs fails when AMQERR01.LOG file is corrupt

Post new topic  Reply to topic
 When archive mq logs fails when AMQERR01.LOG file is corrupt « View previous topic :: View next topic » 
Author Message
dgolding
PostPosted: Thu Aug 19, 2004 7:02 am    Post subject: When archive mq logs fails when AMQERR01.LOG file is corrupt Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

A problem I saw today, don't know if anyone else has experienced it:

The linear log file directory filled up, and an internal MQ process went berzerk and filled up the AMQERR0[1-3].LOG files up with 2102 resource problem messages. Within half-an-hour it had completely filled up the three files.

When we came to run the clean-up Perl script, it looks for the the messages AMQ7467 and AMQ7468 in AMQERR0[N].LOG - which of course was not there. So we have a vicous circle - we can't run the cleanup to free space because the error log is full of error messages!

MQ will only write an AMQ7467/8 message every 1000 or so transactions - but if the log files are full, there is no possibility of these transactions occurring.

I THINK there is some "rcdmqimg" option that will write the AMQ7467 & 8 values into the error log, but couldn't find it.... l

The quick fix is to stop and start the queue manager. On startup it will write a AMQ7467 and AMQ7468 message. NOW run the cleanup script.

Of course, it helps to know why the logs filled up in the first place
Back to top
View user's profile Send private message Visit poster's website
Nigelg
PostPosted: Thu Aug 19, 2004 7:09 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

There is no option in rcdmqimg which will write the AMQ7476/8 msgs to the error logs; these msgs are only written after a checkpoint. Of course, a checkpoint is taken when the qmgr is stopped, so that is why the quick fix works.
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Aug 19, 2004 8:58 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
I THINK there is some "rcdmqimg" option that will write the AMQ7467 & 8 values into the error log, but couldn't find it....

-l
Writes messages containing the names of the oldest log files needed to restart the queue manager and to perform media recovery.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Aug 19, 2004 4:27 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

dgolding, you can also set the MQMAXERRORLOGSIZE variable. On UNIX the biggest you can make it is 1000000. On Windows, I made it 5000000 and it worked.

This way your error logs will hold a lot more info.
_________________
Peter Potkay
Keep Calm and MQ On
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 IBM MQ Support » When archive mq logs fails when AMQERR01.LOG file is corrupt
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.