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 » Lost of logfiles

Post new topic  Reply to topic
 Lost of logfiles « View previous topic :: View next topic » 
Author Message
AlainB
PostPosted: Thu Feb 26, 2004 5:20 am    Post subject: Lost of logfiles Reply with quote

Voyager

Joined: 31 Oct 2002
Posts: 79
Location: Belgium

Hi all,

On a Solaris box, I was having a running queue manager. Few days ago, I've seen that the queue manager was stopped, and when I've tried to restart it, it has complained about missing logfiles.
I've checked and seen that 2 out of the 5 log files (circular ones) have disappeared.
So, is there a way of having the queue manager to start, or reconstruct missing log files ? There should be no data (or loosable ones) in the queue manager, but I would prefer avoid to remove/reinstall it ...
_________________
Alain Buret
Visit http://www.fosdem.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EddieA
PostPosted: Thu Feb 26, 2004 6:49 am    Post subject: Reply with quote

Jedi

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

As a last ditch attempt, you could build another QM with the correct log structure and copy ALL the files over (when both QMs are stopped). But, as Jason has pointed out previously, this is getting more risky with each MQ version.

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
AlainB
PostPosted: Thu Feb 26, 2004 11:09 am    Post subject: Reply with quote

Voyager

Joined: 31 Oct 2002
Posts: 79
Location: Belgium

Hi Eddie,

Thanks for suggestion ... I'll try that tomorrow and will keep you informed. As I have all the MQ configuration saved, I can scratch it if needed, but I wanna try some "rebuild"
_________________
Alain Buret
Visit http://www.fosdem.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cmdmqm
PostPosted: Thu Mar 25, 2004 5:44 am    Post subject: Reply with quote

Novice

Joined: 04 Feb 2002
Posts: 24
Location: Berlin

AlainB wrote:

Thanks for suggestion ... I'll try that tomorrow and will keep you informed. As I have all the MQ configuration saved, I can scratch it if needed, but I wanna try some "rebuild"


Hi,

did you succeed with that?

Bye
Günther
Back to top
View user's profile Send private message
AlainB
PostPosted: Thu Mar 25, 2004 6:05 am    Post subject: Reply with quote

Voyager

Joined: 31 Oct 2002
Posts: 79
Location: Belgium



Yep, that has worked fine ... I've just removed the logfiles directory for that QM, renammed the qmgr directory for that QM, adapt the mqs.ini file and crtmqm QM ...
Then, I've stopped the newly created QM, remove its new qmgr directory and restored the saved one ... and that's all !
_________________
Alain Buret
Visit http://www.fosdem.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cmdmqm
PostPosted: Thu Mar 25, 2004 6:18 am    Post subject: Reply with quote

Novice

Joined: 04 Feb 2002
Posts: 24
Location: Berlin

AlainB wrote:

Yep, that has worked fine ... I've just removed the logfiles directory for that QM, renammed the qmgr directory for that QM, adapt the mqs.ini file and crtmqm QM ...
Then, I've stopped the newly created QM, remove its new qmgr directory and restored the saved one ... and that's all !


Hi again,

this sounds quite dangerous Have there been any messages in the queues and were they "restored" (-> visible after recreation)? Because with this method, there might be messages in the queues and the logfiles do not know about them - I wonder if MQ can cope with this under every circumstance.

Bye
Günther
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 » Lost of logfiles
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.