Author |
Message
|
thimerion |
Posted: Thu Aug 16, 2007 3:48 am Post subject: mqs.ini and mq.ini priority |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
Hi,
I have in mqs.ini
LogDefaults:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogDefaultPath=/var/mqm/log
and in mq.ini
Log:
LogPrimaryFiles=8
LogSecondaryFiles=3
LogFilePages=4096
LogType=LINEAR
LogBufferPages=0
LogPath=/var/mqm/log/QUPI1/
LogWriteIntegrity=TripleWrite
But my logs are circular ... how can that ?
Regards,
Tim |
|
Back to top |
|
 |
Chandra Mohan |
Posted: Thu Aug 16, 2007 5:01 am Post subject: |
|
|
 Acolyte
Joined: 26 Jul 2006 Posts: 53
|
How you know that your logs are circular.?? _________________ Chandra Mohan |
|
Back to top |
|
 |
thimerion |
Posted: Thu Aug 16, 2007 5:14 am Post subject: |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
Because, 1 it remains at 4 logs for some time now. and 2 we tried to run a cleanup script to delete old active logs, and the error that we got indicated that the logs are circular. Any other way I can double check ?
T |
|
Back to top |
|
 |
thimerion |
Posted: Thu Aug 16, 2007 5:33 am Post subject: |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
I get
$ rcdmqimg -l -m QUDI1 -t all '*'
AMQ7044: Media recovery not allowed.
Media recovery not allowed.
Severity:
20 : Error
Explanation:
Media recovery is not possible on a queue manager using a circular log. Damaged objects must be deleted on such a queue manager.
Response:
None. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 16, 2007 5:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can only set the log type at qmgr creation.
If you set -lc on crtmqm, and then later decided to edit qm.ini... you did nothing. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
thimerion |
Posted: Thu Aug 16, 2007 7:05 am Post subject: |
|
|
Acolyte
Joined: 08 May 2007 Posts: 67 Location: Belgium
|
Thanks, I did not know that.
The QM was indeed recreated as a consequence of deleting to many active logs. When recreating, no log parms were given, because it was assumed the ini file would take care of that.
Thanks again. |
|
Back to top |
|
 |
|