dovecotError: socket() failed: Address family not supported by protocol

Sutinrta today I started to do a standard Debian dist upgrade server and Dovecot died with the following error 🙂

[….] Starting IMAP/POP3 mail server: dovecotError: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol
Fatal: Failed to start listeners
failed!

 

Ако се загледате внимателно в нея грешката вади очите на човек listen(::, 993) failed apparently trying to listen on ipv6 address which I've disabled 😈 . The decision is just as obviously as the error – we need to make dovecot only works in ipv4, which is achieved with the following line in /etc/dovecot/dovecot.Conf
listen=0.0.0.0
Then odrama quick restart Dovecot and everything was in order and we can continue with the updates under the action of inflammatory mediators

leave a reply

Your email address will not be published. Required fields are marked *

anti SPAM *