|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Lost of logfiles |
« View previous topic :: View next topic » |
Author |
Message
|
AlainB |
Posted: Thu Feb 26, 2004 5:20 am Post subject: Lost of logfiles |
|
|
 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 |
|
 |
EddieA |
Posted: Thu Feb 26, 2004 6:49 am Post subject: |
|
|
 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 |
|
 |
AlainB |
Posted: Thu Feb 26, 2004 11:09 am Post subject: |
|
|
 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 |
|
 |
cmdmqm |
Posted: Thu Mar 25, 2004 5:44 am Post subject: |
|
|
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 |
|
 |
AlainB |
Posted: Thu Mar 25, 2004 6:05 am Post subject: |
|
|
 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 |
|
 |
cmdmqm |
Posted: Thu Mar 25, 2004 6:18 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|