Re: dovecot? systemd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 11, 2016 at 1:35 PM, Tom Horsley <horsley1953@xxxxxxxxx> wrote:
> I just did a "dnf update" and now dovecot won't start at boot.

No issue here with the updated dovecot. I guess it has nothing to do
with the update.
>
> I get errors like:
>
> Feb 11 07:23:41 tomh systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a
> Feb 11 07:23:41 tomh systemd[1]: dovecot.service: Unit entered failed state.
> Feb 11 07:23:41 tomh systemd[1]: dovecot.service: Failed with result 'exit-code'.
>
> And over in maillog for the same timestamp:
>
> Feb 11 07:23:41 tomh dovecot: master: Error: service(imap-login): listen(*, 993) failed: Address already in use

This above line means the socket is already up and listening. Dovecot
systemd service file is bind to <dovecot.socket> unit. Stopping only
dovecot is not enough, the socket must be closed to.


> Feb 11 07:23:41 tomh dovecot: master: Fatal: Failed to start listeners

What is the output of <$ systemctl status deovecot -l> when dovecot is
down ? Did you have a look at <dovecot-init.service> ?
>
> But if I manually do this a few minutes after I boot:
>
> sudo systemctl restart dovecot.service

Try this instead:

# systemctl stop dovecot
# systemctl stop dovecot.socket
# systemctl start dovecot

The restart command is not always the safest choice.
>
> It then starts running with no problems.
>
> So who the heck is grabbing the imap ports when dovecot tries to start at boot?


> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org



-- 

google.com/+arnaudgabourygabx
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux