Eduardo:
In your ONCONFIG file the ALARMPROGRAM parameter should be set to alarmprogram.sh.
If you edit whichever file is set there, there will be a line:
BACKUPLOGS=N
Just change the "N" to "Y". If you are using ontape -s to make archives, then you also need to change this line:
BACKUP_CMD="onbar -b -l"
to
BACKUP_CMD="ontape -a"
But if you are using "onbar -b ..." to archive the server then it should be set to "onbar -b -l" as above.
Once you make these changes and save the file, whenever a logical log file completes it will automatically be backed up by the ALARMPROGRAM script and you will see lines like these in your message log (onstat -m):
07/22/2025 13:33:33 Logical Log 3626 Complete, timestamp: 0x11c1ff62e.
07/22/2025 13:33:34 Logical Log 3626 - Backup Started
07/22/2025 13:33:35 Logical Log 3626 - Backup Completed
Although your timestamps may look different depending on what version of Informix you are running and what you have the MSG_DATE parameter set to in later releases.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com------------------------------
Original Message:
Sent: Tue July 22, 2025 01:46 PM
From: Eduardo Rodriguez
Subject: LOG FILES
Hello everyone.
Previously, I checked that in some cases the log files were filling up, and this was causing errors at some point.
So we decided to increase the number of log files as well as their size.
Today we had a problem because they filled up, and the log manager remained in CKPT REQ, so we immediately backed them up.
With ontape -a and automatically, the log manager was released.
My question is how do we get the log manager to automatically back them up or discard them for recycling so this doesn't happen?
Regards.
------------------------------
Eduardo Rodriguez
------------------------------