The error messages are comming from my monitor script, /usr/local/bin/slstatus. I've included the script below. This script is ran by VCS to test whether a syslog-ng process is running or not. The question is, why is it running on the inactive node at all?
/usr/local/bin/slstatus
#!/bin/sh
CONFIGDIR=/fwsm-logs/conf
LD_LIBRARY_PATH=/usr/sfw/lib:/usr/local/lib
DAEMON=/usr/local/sbin/syslog-ng
LOGGER=/usr/bin/logger
export LD_LIBRARY_PATH
# Function to log error messages to syslog
#
# Log <program> <severity> <text>
#
Log()
{
$LOGGER -t SYSLOG-NG -i -p user.$1 "$2"
}
FWname=$1
INST=$1
CONFFILE=$FWname.conf
PIDFILE=/var/run/syslog-ng.$FWname.pid
/usr/ucb/ps -auwwx | grep syslog-ng | grep $INST > /dev/null 2>&1
RET=$?
if [ $RET -ne 0 ]; then
if [ -f $PIDFILE ]; then
rm $PIDFILE
fi
Log crit "Syslog process for $INST has failed"
exit 100
fi
if [ ! -f $PIDFILE ]; then
Log crit "Pid file for Syslog process $INST is missing"
exit 100
fi
exit 110