[Dovecot] old master.pid prevents dovecot startup
tss at iki.fi
Wed Jan 16 18:43:39 EET 2008
On Wed, 2008-01-16 at 11:34 -0500, Michael wrote:
> After an unclean shutdown the file /var/run/dovecot/master.pid remained
> behind. This prevented dovecot from starting, and gave a misleading error
> To be more resilient and fault-tolerant, I recommend that dovecot also
> check the validity of the PID in /var/run/dovecot/master.pid in order to
> determine whether or not another dovecot process is running.
It does check if a process is running with that PID. Doing any further
checks to make sure that the PID is a dovecot process would probably be
more trouble than worth.
> Starting Dovecot Imap: Error: Dovecot is already running with PID 1965
> (read from /var/run/dovecot/master.pid)
> Fatal: Invalid configuration in /etc/dovecot.conf
This "Invalid configuration" message is bad. Removed:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080116/5558dc59/attachment.bin
More information about the dovecot