This server is running for around 5 months. Centos 7, Postfix/Dovecot, up-to-date.
Looking at my Dashboard I see Dovecot is “not running”. I put it to “run” but its state still is displayed as stopped.
I don’t see problems. tailf /var/log/maillog displays dovecot activity. ps aux | grep dovecot
I remember it also happened after “Current Certificate” -> “Copy to Dovecot”. This button didn’t disappear like the others after clicking on them.
This time I didn’t do anything. Maybe a Let’s Encrypt auto renew is involved.
Trying IP...
Connected to MyHost.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
systemctl status dovecot
dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since sáb 2020-02-29 18:59:51 -03; 18h ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Process: 31847 ExecStop=/usr/bin/doveadm stop (code=exited, status=75)
Process: 8919 ExecStart=/usr/sbin/dovecot (code=exited, status=89)
Process: 8912 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
Main PID: 1425 (code=exited, status=0/SUCCESS)
feb 29 18:59:51 host.MyHost.com systemd[1]: Starting Dovecot IMAP/POP3 email server...
feb 29 18:59:51 host.MyHost.com dovecot[8919]: Fatal: Dovecot is already running? Socket already exists: /var...ogin
feb 29 18:59:51 host.MyHost.com dovecot[8919]: master: Fatal: Dovecot is already running? Socket already exis...ogin
feb 29 18:59:51 host.MyHost.com systemd[1]: dovecot.service: control process exited, code=exited status=89
feb 29 18:59:51 host.MyHost.com systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
feb 29 18:59:51 host.MyHost.com systemd[1]: Unit dovecot.service entered failed state.
feb 29 18:59:51 host.MyHost.com systemd[1]: dovecot.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
Not yet. Because it is not affecting email system I let it in that state to allow tests you might suggest.
Maybe there’s a bug somewhere.
I repeat I had the same issue after trying to apply Let’sEncrypt cert to Dovecot via “Copy to Dovecot” button in the past
Done.
I “Copy to Dovecot” current certificate and it was applied correctly, the button is not displayed anymore.
I left wondering why Dovecot was displayed as not running in Dashboard.
Thank you