[Dovecot] 2.0 not starting
Hi everybody,
I tried to upgrade my 1.2.13 dovecot to 2.0. The configure/make/install process seemed to work flawlessly. I created the dovenull user, converted my config with
#src/config/doveconf -n -c /etc/dovecot.conf > /tmp/dovecot.conf
and moved the result manually to /etc/dovecot. By typing "dovecot" (after having stopped the previous instance :), I get:
Error: service(pop3-login): listen(::, 110) failed: Address already in use Error: service(imap-login): listen(::, 143) failed: Address already in use Fatal: Failed to start listeners
tough nor "netstat -ta" nor "lsof -i" do show anything using port 110 or 143.
What did I wrong?
Here is my doveconf -n:
baobab:/usr/src/local/mail/dovecot/current/dovecot-2.0.0 # doveconf -n # 2.0.0: /etc/dovecot/dovecot.conf # OS: Linux 2.6.27.45-0.1-pae i686 openSUSE 11.1 (i586) ext3 doveconf: Warning: Dovecot was last started using /etc/dovecot.conf, but this config is /etc/dovecot/dovecot.conf auth_cache_size = 3072 auth_debug = yes auth_mechanisms = plain login auth_username_format = %Lu auth_verbose = yes disable_plaintext_auth = no first_valid_gid = 0 first_valid_uid = 100 info_log_path = /var/log/dovecot/logfile.info log_path = /var/log/dovecot/logfile login_greeting = Dovecot at Baobab ready. mail_location = mbox:/var/spool/mailboxes/%u:INBOX=/var/spool/mail/%u:DIRNAME=mbox:INDEX=/var/dovecot_indexes/%u maildir_copy_with_hardlinks = no namespace { inbox = yes location = prefix = separator = . type = private } passdb { driver = pam } plugin { quota = maildir quota_rule = *:storage=300M } protocols = pop3 imap service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } user = root } service imap-login { inet_listener imaps { address = 212.45.144.44, 212.45.144.70, 192.168.134.44 } process_limit = 512 } service pop3-login { inet_listener pop3s { address = 212.45.144.44, 212.45.144.70, 192.168.134.44 } process_limit = 512 } ssl_ca =
luciano.
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.mannucci.ORG/
Am 17.08.2010 16:47, schrieb Luciano Mannucci:
Error: service(pop3-login): listen(::, 110) failed: Address already in use Error: service(imap-login): listen(::, 143) failed: Address already in use Fatal: Failed to start listeners
That is a problem with the ipv6 config on your machine. Dovecot tries to (also) bind to the ipv6 ANY address.
Regards, Oliver
On Tue, 17 Aug 2010 16:57:24 +0200 Oliver Eales jester@arcor.de wrote:
That is a problem with the ipv6 config on your machine. Dovecot tries to (also) bind to the ipv6 ANY address. Ohh, I see... There is no more --disable-ipv6... I have no IPV6 on my machine (as well as no IPX, appletalk... :). Is there a way to tell dovecot not trying to use non-existing protocols (or more accurately: not running protocols)?
Cheers to all,
luciano.
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.mannucci.ORG/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Luciano Mannucci said the following on 17/08/10 18:03:
I have no IPV6 on my machine (as well as no IPX, appletalk... :). Is there a way to tell dovecot not trying to use non-existing protocols (or more accurately: not running protocols)?
Change
listen = *, ::
to
listen = *
So Dovecot will not (try to) use non-existing (or non-configured) protocols.
Ciao, luigi
/ +--[Luigi Rosa]-- \
Sed modo senectus morbus est, carmen vitae immoderatae hic est. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxqtScACgkQ3kWu7Tfl6ZQSQACfWafmVaQ+UkbGoqKvnjS6J67E iBIAoMBFZrtU3cufAitCW6wcZ5p+564K =kgQF -----END PGP SIGNATURE-----
On Tue, 17 Aug 2010 18:13:30 +0200 Luigi Rosa lists@luigirosa.com wrote:
Change
listen = *, ::
to
listen = *
Works! I added a "listen = *".
I had no "listen" directive in my config, though. Maybe the default changed from "*" to "*, ::"...
Many thanks!
luciano.
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.mannucci.ORG/
participants (4)
-
Luciano Mannucci
-
Luigi Rosa
-
Oliver Eales
-
Timo Sirainen