'service MailScanner stop' doesn't stop MailScanner the 1st time

Julian Field mailscanner at ecs.soton.ac.uk
Wed Mar 12 11:25:29 GMT 2003


At 22:06 11/03/2003, you wrote:
>Hello,
>
>I noticed this on 2 machines (RH 7.2 and 7.3):
>
># ps axw|grep -i mail
>22138 ?        S      0:06 sendmail: accepting connections
>22143 ?        S      0:01 /usr/sbin/sendmail -q15m
>22153 ?        S      0:01 /usr/bin/perl -I/usr/lib/MailScanner
>/usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
>15702 ?        S      0:01 /usr/bin/perl -I/usr/lib/MailScanner
>/usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
>15963 ?        S      0:00 /usr/bin/perl -I/usr/lib/MailScanner
>/usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
># service MailScanner stop
>Shutting down MailScanner daemons:
>          MailScanner:                                      [  OK  ]
>          incoming sendmail:                                [  OK  ]
>          outgoing sendmail:                                [  OK  ]
># ps axw|grep -i mail
>22153 ?        D      0:01 /usr/bin/perl -I/usr/lib/MailScanner
>/usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
>15702 ?        D      0:01 /usr/bin/perl -I/usr/lib/MailScanner
>/usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
>15963 ?        D      0:00 /usr/bin/perl -I/usr/lib/MailScanner
>/usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
># service MailScanner stop
>Shutting down MailScanner daemons:
>          MailScanner:                                      [  OK  ]
>          incoming sendmail:                                [FAILED]
>          outgoing sendmail:                                [FAILED]
># ps axw|grep -i mail
>
>
>Only the 2nd 'service MailScanner stop' killed MailScanner processes. Why?
>Had I to wait a little more time (the processes were in D state)?

Yes. Give it some time to do the job, it is trying to be very nice to you
and is cleaning up all the temporary directories it will have created.
After doing the "stop", wait 10 seconds or so before the "ps".
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list