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 » unable to start Queue manager on unix box

Post new topic  Reply to topic
 unable to start Queue manager on unix box « View previous topic :: View next topic » 
Author Message
nits_018
PostPosted: Sun Aug 04, 2013 3:26 am    Post subject: unable to start Queue manager on unix box Reply with quote

Apprentice

Joined: 24 Oct 2012
Posts: 34

Hello,

We had a system mainteneance and due to which the QM was brought down. Now whenever i am trying to start the QM using strmqm it is always throwing an error saying that "0 log accessed on queue manager mb.qm1 during the log reply phase ". It seems like log files are missing or got lost during the recovery phase. Is thr a way i can fix the problem by not having the old log files and if i have a old log file then where to place it so that my QM comes back up.

Request you to please help me out.
Back to top
View user's profile Send private message
rammer
PostPosted: Sun Aug 04, 2013 4:36 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

If you do not have the log files then you will have to rebuild the Queue Manager.

Might be worth checking the log files are not on the server and for some reason permissions have been removed as part of mainteneance.

If you have a backup then restore the queue manager and relevant directories. These will be dependant on your install.
Back to top
View user's profile Send private message
nits_018
PostPosted: Sun Aug 04, 2013 5:02 am    Post subject: Reply with quote

Apprentice

Joined: 24 Oct 2012
Posts: 34

Thanks for the reply.

Yes, i have some log files which are of old date but not on the date the queue manager was installed.

so in case of this issue do i need to have the log files on the day on which the queue manager was installed.
Back to top
View user's profile Send private message
rammer
PostPosted: Sun Aug 04, 2013 5:08 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

nits_018 wrote:
Thanks for the reply.

Yes, i have some log files which are of old date but not on the date the queue manager was installed.

so in case of this issue do i need to have the log files on the day on which the queue manager was installed.


I havent really tested restore from just old logs. Only restores I have done are from tape and that restores the log and data directories. I am a littl eunsure what happens if you just restore some old logs that you find as MQ does a check on restart and Im guessing if it does not match where it thinks it was it may still fail. Are there still messages on the queues at time of mainteneance that you need to keep?

There will be people along soon who will have done more recovery than me. Alternative is if you do not have any data in the queues and have got a saveqmgr then you could possibly re-create it very quickly?
Back to top
View user's profile Send private message
nits_018
PostPosted: Sun Aug 04, 2013 5:16 am    Post subject: Reply with quote

Apprentice

Joined: 24 Oct 2012
Posts: 34

Hello,

We do not need to have the message that where there in the queue. And i tried with old log files but they are still failing. so you are right it might be it needs the last state of the log file. so is thr a way to know which date log file is the QM trying to read so that i can restore the log file for that particulare date and QM can be brought back up.

Also can you enlighten me on savqmgr and how it can help in current scenario.
Back to top
View user's profile Send private message
rammer
PostPosted: Sun Aug 04, 2013 5:30 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Saveqmgr will not help you in this scenario it is a utility to backup Queue Manager Defnitions for rebuilds etc but needs to be carried out against a running queue manager.

This may help If you are using circular logs

http://www.mqseries.net/phpBB2/viewtopic.php?t=49665
Back to top
View user's profile Send private message
brianb
PostPosted: Thu Aug 08, 2013 4:12 pm    Post subject: Missing log files Reply with quote

Voyager

Joined: 12 May 2010
Posts: 85

You may want to try to do a cold re-start

create a dummy QM etc....
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Fri Aug 09, 2013 5:37 am    Post subject: Re: Missing log files Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

brianb wrote:
You may want to try to do a cold re-start...


This would only be supported if IBM L2/3 Support advised you to do so in writing in the PMR.

The right answer was to dump the Qmgr definition (dmpmqcfg or MS03 saveqmgr prior to WMQ 7.1), then recreate the Qmgr and run these definitions to get it back to where you were. Then fix up channels and clusters as needed.
Back to top
View user's profile Send private message AIM Address
Tibor
PostPosted: Fri Aug 09, 2013 11:05 pm    Post subject: Re: Missing log files Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

JosephGramig wrote:
The right answer was to dump the Qmgr definition (dmpmqcfg or MS03 saveqmgr prior to WMQ 7.1)

I think, you can launch dmpmqcfg or saveqmgr on a running queue manager only, but there is not an option.

nits_018 wrote:
And i tried with old log files but they are still failing. so you are right it might be it needs the last state of the log file.

You don't need the last log files, but a *consistent* log file set. So you should create a dummy queue manager with same logging parameters (you can find them in the qm.ini), and copy this log files, amqhlctl.lfh and S*LOG as well.
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 » unable to start Queue manager on unix box
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.