killproc mailscanner

Mike Kercher mike at CAMAROSS.NET
Fri Sep 6 01:26:22 IST 2002


Actually, I think it's an older version of Redhat thing.  I installed MS on a friend's RH 6.1 box today and ran into the same thing.
Luckily, he'll be upgrading in another week or so! :)


-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Craig St George
Sent: Thursday, September 05, 2002 7:18 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: killproc mailscanner


Ok it is defiantly a cobalt RAQ thing

when you ue init script and then do a ps awx
it shows
perl /home/opt/MailScanner/bin/mailscanner /home/opt/

so killproc mail scanner does not work nor does status

I just changed init script so to kill  via the PID


# Stop daemons.
         echo    'Shutting down MailScanner daemons:'

         [ -f  /home/opt/MailScanner/var/virus.pid ] && {
             kill `cat  /home/opt/MailScanner/var/virus.pid`
            echo -n '  MailScanner:       '
         }
         rm -f  /home/opt/MailScanner/var/virus.pid
         echo



and status


# Work out if all of MailScanner is running
         echo    'Checking MailScanner daemons:'
         echo -n '         MailScanner:       '
         pid=`ps ax |grep  '/home/opt/MailScanner'`
         if [ -z "$pid" ] ; then failure; else success; fi
         echo



More information about the MailScanner mailing list