unable to write pid to sendmail.pid

James D. Parra Jamesp at MUSICREPORTS.COM
Tue Aug 2 01:01:50 IST 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

>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

------------------------ 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