I read this article:
The article says to use the Agent Monitoring Monitor script, running as a cron job. My POA is running on SLES10, but from time to time the GroupWise POA breaks. For a normal restart (in my case), I need to manually delete folders:
As a result, I cannot use AUTOMATE RESTART.
I've modified this script so it renames these folders to unique names and then restarts the POA:
declare -i CNT=0
CNT=`ps -aef | grep -v grep | grep -c '@mrpp.poa'`
if [ $CNT -eq 0 ]
echo "Restarting MRPP POA" `! date` >> /var/log/novell/groupwise/gwagentchk.log
echo "$SIN.$NDT" >> /var/log/novell/groupwise/gwagentchk.log
echo "$SOUT.$NDT" >> /var/log/novell/groupwise/gwagentchk.log
mv $SIN $SIN.$NDT
mv $SOUT $SOUT.$NDT
/etc/init.d/grpwise start mrpp.mrpd &
This will be the new name: .../wpcsin.20071230183001
The time format is: yyyymmddhhmmss
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.