docker-ubuntu-stack
docker-ubuntu-stack copied to clipboard
Stuck PID file after restart
Many times after restarting the docker container, dovecot won't start up because the PID file is still present. After manually deleting the PID file dovecot is able to start.
This is the log output:
... 017-01-09T22:37:16.557495+01:00 53efa56ce4a0 dovecot: master: Fatal: Dovecot is already running with PID 11 (read from /var/run/dovecot/master.pid) 2017-01-09T22:37:16.557495+01:00 53efa56ce4a0 dovecot: master: Fatal: Dovecot is already running with PID 11 (read from /var/run/dovecot/master.pid) Fatal: Dovecot is already running with PID 11 (read from /var/run/dovecot/master.pid) 2017-01-09T22:37:17.838841+01:00 53efa56ce4a0 dovecot: master: Fatal: Dovecot is already running with PID 11 (read from /var/run/dovecot/master.pid) 2017-01-09T22:37:17.838841+01:00 53efa56ce4a0 dovecot: master: Fatal: Dovecot is already running with PID 11 (read from /var/run/dovecot/master.pid) ...