Hi,
I faced this problem twice and I do not know how to reproduce it.
There are 2 log files ERRORFILE and EVENTFILE.
I have a script as show below which takes a backup of the log files,every hour. Processes are continously writing to the log files. Occasianaly(twice till now), I see that the inode of the ERRORFILE and EVENTFILE gets changed, due to this no precesses can write to the log file and they need to be restarted to initiate logging. Is there something worng with the command "cp /dev/null".?
TIME=`date '+%Y%m%d_%H%M'`
cp $ERRORFILE $ERRORFILE:$TIME:BACKUP
cp $EVENTFILE $EVENTFILE:$TIME:BACKUP
/usr/bin/gzip $ERRORFILE:$TIME:BACKUP
/usr/bin/gzip $EVENTFILE:$TIME:BACKUP
cp /dev/null $ERRORFILE
cp /dev/null $EVENTFILE