Help !! - Logical Logs are full
Posted in 2004
Topics: Backup & Restore, Server Administration, Logging & Checkpoints, Versions, Editions & End-of-Life
IDS 9.21 UC4
LINUX RH 7.1
There was a long transaction aborted, an the IDS stuck in an eternal CKPT.
The online.log said :
"09:51:44 Waiting for Next Logical Log File to be Freed
09:51:44 Process exited with return code 127: /bin/sh /bin/sh -c /home/informix
/etc/log_full.sh 3 20 "Logical Logs are Full -- Backup is Needed." "Waiting for
Next Log"
So I tried with ontape -s (LTAPEDEV=/dev/null) bat nothing happend !
Then I restart de IDS with :
onmode -ky
oninit -v
But now It's stuck in Fast - Recovery
Informix Dynamic Server 2000 Version 9.21.UC4 -- Fast Recovery (CKPT REQ) --
Up 01:15:51 -- 61392 Kbytes
Blocked:CKPT
Message Log File: /home/informix/etc/online.log
09:51:26 Informix Dynamic Server 2000 Started.
Tue Nov 16 09:51:26 2004
09:51:26 Event alarms enabled. ALARMPROG = '/home/informix/etc/log_full.sh'
09:51:26 Booting Language <c> from module <>
09:51:26 Loading Module <CNULL>
09:51:26 Booting Language <builtin> from module <>
09:51:26 Loading Module <BUILTINNULL>
09:51:32 Informix Dynamic Server 2000 Version 9.21.UC4 Software Serial Numb
er AAC#A518469
09:51:33 Dynamically allocated new virtual shared memory segment (size 8192KB)
09:51:38 Informix Dynamic Server 2000 Initialized -- Shared Memory Initialized.
09:51:38 Physical Recovery Started at Page(1:673).
09:51:39 Physical Recovery Complete: 404 Pages Examined 377 Pages Restored.
09:51:39 Logical Recovery Started.
09:51:39 10 recovery worker threads will be started.
09:51:44 Waiting for Next Logical Log File to be Freed
09:51:44 Process exited with return code 127: /bin/sh /bin/sh -c /home/informix
/etc/log_full.sh 3 20 "Logical Logs are Full -- Backup is Needed." "Waiting for
Next Log
I tried to increase de number of logical logs from 6 to 8 but when I run
oninit -v said something like "the maximun logical logs permited are 6"
Someone can help mi please.??
Force a checkpoint ( onmode -c ) . If you backup the logs to tape did you
change the logical log tape
and re-run the script to start the log to write to tape therefore freeing
the logs up.
John H. Caron
USBC-MA
617-565-6175
508-770-8957
"ARIEL QUARIN"
<finoquarin@yahoo
.com> To
Sent by: ids@iiug.org
forum.subscriber@ cc
iiug.org
Subject
Help !! - Logical Logs are full
11/16/2004 09:20 [3701]
AM
IDS 9.21 UC4
LINUX RH 7.1
There was a long transaction aborted, an the IDS stuck in an eternal CKPT.
The online.log said :
"09:51:44 Waiting for Next Logical Log File to be Freed
09:51:44 Process exited with return code 127: /bin/sh /bin/sh -c
/home/informix
/etc/log_full.sh 3 20 "Logical Logs are Full -- Backup is Needed." "Waiting
for
Next Log"
So I tried with ontape -s (LTAPEDEV=/dev/null) bat nothing happend !
Then I restart de IDS with :
onmode -ky
oninit -v
But now It's stuck in Fast - Recovery
Informix Dynamic Server 2000 Version 9.21.UC4 -- Fast Recovery (CKPT
REQ) --
Up 01:15:51 -- 61392 Kbytes
Blocked:CKPT
Message Log File: /home/informix/etc/online.log
09:51:26 Informix Dynamic Server 2000 Started.
Tue Nov 16 09:51:26 2004
09:51:26 Event alarms enabled. ALARMPROG =
'/home/informix/etc/log_full.sh'
09:51:26 Booting Language <c> from module <>
09:51:26 Loading Module <CNULL>
09:51:26 Booting Language <builtin> from module <>
09:51:26 Loading Module <BUILTINNULL>
09:51:32 Informix Dynamic Server 2000 Version 9.21.UC4 Software Serial
Numb
er AAC#A518469
09:51:33 Dynamically allocated new virtual shared memory segment (size
8192KB)
09:51:38 Informix Dynamic Server 2000 Initialized -- Shared Memory
Initialized.
09:51:38 Physical Recovery Started at Page(1:673).
09:51:39 Physical Recovery Complete: 404 Pages Examined 377 Pages
Restored.
09:51:39 Logical Recovery Started.
09:51:39 10 recovery worker threads will be started.
09:51:44 Waiting for Next Logical Log File to be Freed
09:51:44 Process exited with return code 127: /bin/sh /bin/sh -c
/home/informix
/etc/log_full.sh 3 20 "Logical Logs are Full -- Backup is Needed." "Waiting
for
Next Log
I tried to increase de number of logical logs from 6 to 8 but when I run
oninit -v said something like "the maximun logical logs permited are 6"
Someone can help mi please.??
Here is
a method you can implement to free the IDS out of the fast recovery mode due
to the long transaction rolling back. In order for the IDS to rollback the
long transaction you somehow have to tweak the engine. Try this :
1. Increase your LTXWHM and LTXEWHM to the maximum numbers and then bounce the
engine. (if you don't need the these transactions then you can set the
LTAPEDEV onconfig parameter to /dev/null).
Hope this helps.
Ravi Thero
John_Caron@mab.uscourts.gov wrote:
Force a checkpoint ( onmode -c ) . If you backup the logs to tape did you
change the logical log tape
and re-run the script to start the log to write to tape therefore freeing
the logs up.
John H. Caron
USBC-MA
617-565-6175
508-770-8957
"ARIEL QUARIN"
.com> To
Sent by: ids@iiug.org
forum.subscriber@ cc
iiug.org
Subject
Help !! - Logical Logs are full
11/16/2004 09:20 [3701]
AM
IDS 9.21 UC4
LINUX RH 7.1
There was a long transaction aborted, an the IDS stuck in an eternal CKPT.
The online.log said :
"09:51:44 Waiting for Next Logical Log File to be Freed
09:51:44 Process exited with return code 127: /bin/sh /bin/sh -c
/home/informix
/etc/log_full.sh 3 20 "Logical Logs are Full -- Backup is Needed." "Waiting
for
Next Log"
So I tried with ontape -s (LTAPEDEV=/dev/null) bat nothing happend !
Then I restart de IDS with :
onmode -ky
oninit -v
But now It's stuck in Fast - Recovery
Informix Dynamic Server 2000 Version 9.21.UC4 -- Fast Recovery (CKPT
REQ) --
Up 01:15:51 -- 61392 Kbytes
Blocked:CKPT
Message Log File: /home/informix/etc/online.log
09:51:26 Informix Dynamic Server 2000 Started.
Tue Nov 16 09:51:26 2004
09:51:26 Event alarms enabled. ALARMPROG =
'/home/informix/etc/log_full.sh'
09:51:26 Booting Language from module <>
09:51:26 Loading Module
09:51:26 Booting Language from module <>
09:51:26 Loading Module
09:51:32 Informix Dynamic Server 2000 Version 9.21.UC4 Software Serial
Numb
er AAC#A518469
09:51:33 Dynamically allocated new virtual shared memory segment (size
8192KB)
09:51:38 Informix Dynamic Server 2000 Initialized -- Shared Memory
Initialized.
09:51:38 Physical Recovery Started at Page(1:673).
09:51:39 Physical Recovery Complete: 404 Pages Examined 377 Pages
Restored.
09:51:39 Logical Recovery Started.
09:51:39 10 recovery worker threads will be started.
09:51:44 Waiting for Next Logical Log File to be Freed
09:51:44 Process exited with return code 127: /bin/sh /bin/sh -c
/home/informix
/etc/log_full.sh 3 20 "Logical Logs are Full -- Backup is Needed." "Waiting
for
Next Log
I tried to increase de number of logical logs from 6 to 8 but when I run
oninit -v said something like "the maximun logical logs permited are 6"
Someone can help mi please.??
---------------------------------
Do you Yahoo!?
Meet the all-new My Yahoo! Try it today!