unable to write pid to sendmail.pid
Stephen Swaney
steve.swaney at fsl.com
Mon Aug 1 22:48:17 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 5:16 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: unable to write pid to sendmail.pid
>
> Hello,
>
> Whenever I start MailScanner I get the following error:
>
> MailScanner # cat /var/log/mail.err
> Jul 28 18:21:34 sendmail-out[12986]: unable to write pid to
> /var/run/sendmail.pid: file in use by another process
> Jul 29 15:46:35 sendmail-out[5624]: unable to write pid to
> /var/run/sendmail.pid: file in use by another process
> Aug 1 11:14:54 sendmail-out[25226]: unable to write pid to
> /var/run/sendmail.pid: file in use by another process
> Aug 1 13:12:13 sendmail-out[25885]: unable to write pid to
> /var/run/sendmail.pid: file in use by another process
> Aug 1 13:15:43 sendmail-out[26006]: unable to write pid to
> /var/run/sendmail.pid: file in use by another process
> Aug 1 13:57:47 sendmail-out[26165]: unable to write pid to
> /var/run/sendmail.pid: file in use by another process
>
> No other application, outside of MailScanner starting sendmail, is
> running.
>
> Can someone point me in the right direction?
>
> Thank you,
>
> James
I'm pretty sure that this is in the MAQ but what's happening is that when
you try to start Sendmail - It's already running. You don't say what OS you
are running so I can only tell you the processes, not the commands. Also the
init processes are a bit different if you're running Debian, Solaris or
FreeBSD
1. Make sure that sendmail is not running or (for linix) started by an init
script.
2. Restart MailScanner
3. Make sure that MailScanner is started by a init script.
If you're running Red Hat Linux or a Red Hat variant (CentOS) the command
would be:
service sendmail stop
chkconfig sendmail off
service MailScanner restart
chkconfig MailScanner on
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