Bug 451838 - Dovecot does not start when a PID file exists, regardless of whether an actual dovecot process runs
Dovecot does not start when a PID file exists, regardless of whether an actua...
Product: Fedora
Classification: Fedora
Component: dovecot (Show other bugs)
i686 Linux
low Severity low
: ---
: ---
Assigned To: Dan Horák
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-06-17 14:21 EDT by Filip Miletic
Modified: 2008-07-01 06:21 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-01 06:21:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Filip Miletic 2008-06-17 14:21:43 EDT
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:
Dovecot sometimes crashes, or does not wake up with the rest of the system from
hibernation.  Attempting to restart the daemon manually fails:
$ /etc/init.d/dovecot restart
Stoppen van Dovecot Imap:                                  [MISLUKT]
Starten van Dovecot Imap: Fatal: Dovecot is already running with PID 2112 (read
from /var/run/dovecot/master.pid)
(mislukt =-> failed)
Actual results:
Dovecot does not restart, but rather prints an error message and quits.

However, asking for the status:
$ LC_ALL=en_US /etc/init.d/dovecot status
dovecot is stopped
leading one to think there would be a way to figure out that dovecot is not
running and therefore restart it.

Expected results:
Dovecot should figure out that there's no dovecot process currently running and

Additional info:
Comment 1 Dan Horák 2008-06-18 06:17:43 EDT
problem is in non-standard location of the pid file, but the correct path can be
specified as a parameter in the init script
Comment 2 Fedora Update System 2008-06-18 15:55:54 EDT
dovecot-1.0.14-9.fc9 has been submitted as an update for Fedora 9
Comment 3 Fedora Update System 2008-06-18 15:57:02 EDT
dovecot-1.0.14-9.fc8 has been submitted as an update for Fedora 8
Comment 4 Fedora Update System 2008-06-20 15:06:50 EDT
dovecot-1.0.14-9.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dovecot'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-5472

Note You need to log in before you can comment on or make changes to this bug.