Kbase P77203: Cron job to switch AI extents and mark them empty stopped working. No error messages.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
SYMPTOM(s):
Cron job to switch AI extents and mark them empty stopped working. No error messages.
CAUSE:
The script to switch the ai extents first checked if after imaging was enabled with the following line:
rfutil ${TOPDIR}/${DB} -C aimage list | grep "3803" > /dev
ull
3803 is the number of the message: "After imaging is not enabled for this database. (3803)". If the grep found the number 3803, it did not perform the switch. The last successful switch however had the following result:
This is after-image file number 3803 since the last AIMAGE BEGIN (3778)
So, the grep command in the script would then stop the following switch, because the ai file number had reached 3803.
FIX:
Change the line in the script to read:
rfutil ${TOPDIR}/${DB} -C aimage list | grep "(3803)" > /dev
ull
or to include the entire message for error 3803.