unable to write pid to sendmail.pid

Stephen Swaney steve.swaney at fsl.com
Tue Aug 2 01:59:50 IST 2005


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of James D. Parra
> Sent: Monday, August 01, 2005 8:02 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: unable to write pid to sendmail.pid
> 
> >Your logs indicate otherwise. Try (I always get clobbered on this list
> >when I say it :) ) "killall -9 sendmail; killall -9 MailScanner" and
> >then start mailscanner again.
> 
> Still the same pesky error after stopping MailScanner and starting a fresh
> instance;
> 
>  # killall -9 sendmail
> sendmail: no process killed
>  # killall -9 MailScanner
> MailScanner: no process killed
> 
>  # rcMailScanner start
> Initializing incoming sendmail                                        done
> Initializing outgoing sendmail                                        done
> Initializing MailScanner
> 
> Aug  1 16:45:35 postmaster sendmail-out[27681]: unable to write pid to
> /var/run/sendmail.pid: file in use by another process
> 
> Noticed that "Initializing MailScanner" doesn't show "done", although I do
> get the following;
> 
>  # ps auxf |grep MailScanner
> root     27904  0.0  0.0   1564   392 pts/0    R+   16:48   0:00
> \_
> grep MailScanner
> root     27696  0.0  3.6  20396 17636 ?        Ss   16:45   0:00
> /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner
> /etc/MailScanner/MailScanner.conf
> root     27697  1.5  7.0  36688 33984 ?        S    16:45   0:02  \_
> /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner
> /etc/MailScanner/MailScanner.conf
> root     27699  2.0  7.0  36648 33980 ?        S    16:45   0:02  \_
> /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner
> /etc/MailScanner/MailScanner.conf
> root     27700  2.2  7.0  36648 33980 ?        S    16:46   0:02  \_
> /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner
> /etc/MailScanner/MailScanner.conf
> root     27886  2.2  7.0  36648 33980 ?        S    16:46   0:02  \_
> /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner
> /etc/MailScanner/MailScanner.conf
> root     27887  2.8  7.0  36672 33980 ?        S    16:46   0:02  \_
> /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner
> /etc/MailScanner/MailScanner.conf
>  # rcMailScanner status
> Checking for service MailScanner:
> running
> 
> 
> ~James

Try:

Stopping all sendmail and MailScanner processes
	rm /var/run/sendmail.pid
starting MailScanner

Steve

Stephen Swaney
Fort Systems Ltd.
stephen.swaney at fsl.com
www.fsl.com

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list