Re: alarm handler bug on OWS 7.22?
Posted in 1998
Here is a part of the ONCONFIG file:
# Diagnostics
MSGPATH /informix/etc/online.log # System message log file path
CONSOLE /dev/console # System console message path
ALARMPROGRAM db_alarm_prog # Alarm program path
The event handler db_alarm_prog is a binary. There is an entry in the variable
path, but I also tried to give the full pathname and the same error ocurred. I
think there is not much I can do wrong in my configuration. I can also show
some entries in online.log:
This didn't work:
13:04:14 Process exited with return code 1: /bin/sh /bin/sh -c db_alarm_prog 223 "Logical Log 333 Complete." "Logical Log 333 Complete."
This worked:
14:26:03 invoke_alarm(): /bin/sh -c 'db_alarm_prog 5 6 "Internal Subsystemfailure: 'MT'" "Attempting to bring listener thread down" '