Dovecot broke while installing

Hi,

I was just installing Hestia in a new server and I had a surprise, dovecot “broke” and killed the install wizard.

Now the installer was killed in this part and I can’t continue the install…

I never faced this issue before, so…

OS: Ubuntu 22.04.3
It’s a dedicated server.

root@hestia:~# systemctl status dovecot.service
x dovecot.service - Dovecot IMAP/POP3 email server
     Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2023-08-07 16:41:01 CEST; 18min ago
       Docs: man:dovecot(1)
             https://doc.dovecot.org/
    Process: 1171 ExecStart=/usr/sbin/dovecot -F (code=exited, status=89)
   Main PID: 1171 (code=exited, status=89)
        CPU: 26ms

Aug 07 16:41:01 hestia.domain.com dovecot[1171]: Error: socket() failed: Address family not supported by protocol
Aug 07 16:41:01 hestia.domain.com dovecot[1171]: Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol
Aug 07 16:41:01 hestia.domain.com dovecot[1171]: Error: socket() failed: Address family not supported by protocol
Aug 07 16:41:01 hestia.domain.com dovecot[1171]: Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
Aug 07 16:41:01 hestia.domain.com dovecot[1171]: Error: socket() failed: Address family not supported by protocol
Aug 07 16:41:01 hestia.domain.com dovecot[1171]: Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol
Aug 07 16:41:01 hestia.domain.com dovecot[1171]: Fatal: Failed to start listeners
Aug 07 16:41:01 hestia.domain.com systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a
Aug 07 16:41:01 hestia.domain.com systemd[1]: dovecot.service: Failed with result 'exit-code'.
Aug 07 16:41:01 hestia.domain.com systemd[1]: Failed to start Dovecot IMAP/POP3 email server.

Thanks in advance.

Did you disable IPv6 in your system?

The default directive for listen in /etc/dovecot/dovecot.conf is:

listen = *, ::

You could try to modify it to:

listen = *

But I’ve no idea if you could continue the install or how to fix it before start the install because installer is using it as default data.

1 Like

Via Discord:

Just a follow up on this issue: I reinstalled the Ubuntu 22.04 and enabled the IPv6 before proceding with the installation and everything worked properly

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.