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 » long file damaged problems

Post new topic  Reply to topic
 long file damaged problems « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Mon Mar 20, 2006 7:25 am    Post subject: long file damaged problems Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I have two questions:

when we set up file size in qm.ini file, which log file are we referring? long file in qmgrs/mqgr/errors/amq...log or /var/mqm/long/qmgr/active/S0000001.log ? is the log file under var/mqm/log/active are necessary to start the qmgr? if deleted, how can I recove that?

Thaks for your help
Back to top
View user's profile Send private message
jeevan
PostPosted: Mon Mar 20, 2006 7:27 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Log file sorry.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Mar 20, 2006 7:45 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

/var/mqm/log/qmgr/active/S0000001.log and others
Yes, they are required to start the qmgr
You cannot, unless you happen to have a backup of the entire qmgr and logs
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 20, 2006 8:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Jeevan
Please try much much harder.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
KramJ
PostPosted: Mon Mar 20, 2006 8:23 am    Post subject: Reply with quote

Voyager

Joined: 09 Jan 2006
Posts: 80
Location: Atlanta

You can rebuild the queue manager logs if they get deleted or corrupted.
Back to top
View user's profile Send private message
jeevan
PostPosted: Mon Mar 20, 2006 11:52 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

yes, deleted
how can i do that? can you please give me some hint

thanks
Back to top
View user's profile Send private message
mvic
PostPosted: Mon Mar 20, 2006 12:24 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

KramJ wrote:
You can rebuild the queue manager logs if they get deleted or corrupted.

I think KramJ intended to say cannot. The log files cannot be rebuilt. The only way to recover the log files is from backups - eg. tape backups.

There is quite a lot to know on this subject - there's a big section on backup / restore / data recovery in the System Administration Guide.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Mar 20, 2006 12:38 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You can rebuild the log files.
Search the site for cold start
Here is one link I found for you

http://www.mqseries.net/phpBB2/viewtopic.php?t=9899&highlight=cold+start

Do it on test atleast three times before you try anything like this in Production


Last edited by vennela on Mon Mar 20, 2006 12:38 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Mon Mar 20, 2006 12:38 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But this will put your qmgr into an unsupported state.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeevan
PostPosted: Mon Mar 20, 2006 12:54 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

i think i can do it now.

thanks a lot
Back to top
View user's profile Send private message
KramJ
PostPosted: Tue Mar 21, 2006 6:48 am    Post subject: Reply with quote

Voyager

Joined: 09 Jan 2006
Posts: 80
Location: Atlanta

I don't think it is unsupported because the instructions are here:
http://www-1.ibm.com/support/docview.wss?uid=swg21194243

I'd say also make backup copies of /var/mqm/qmgrs/'OLDQMGR'/amqalchk.fil and /var/mqm/logs/'OLDQMGR'/.
Back to top
View user's profile Send private message
jeevan
PostPosted: Tue Mar 21, 2006 7:46 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I solve the problem creating dummy queue manager with the same numbers and size of log files and replacing the log file of the queue manager with these files. I also replace the check point control file under log/qmgr directory.


thank you all for your suggestion/ideas
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Mar 21, 2006 10:06 am    Post subject: Reply with quote

Jedi

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

KramJ wrote:
I don't think it is unsupported because the instructions are here:
http://www-1.ibm.com/support/docview.wss?uid=swg21194243

I'd say also make backup copies of /var/mqm/qmgrs/'OLDQMGR'/amqalchk.fil and /var/mqm/logs/'OLDQMGR'/.

Kinda:
Quote:
Operating system(s):
Solaris, AIX, Linux, HP-UX
Software version:
5.3, 5.2

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
mq2004
PostPosted: Thu Mar 23, 2006 2:02 am    Post subject: Reply with quote

Newbie

Joined: 24 Feb 2006
Posts: 3

I encountered similar problem in WMQ 5.3 on AIX 5.2 ,Log files were corrupted and QM was unable to come up, I created the dummy qm and coped over the log files and QM came up.
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 » long file damaged problems
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.