[Dovecot] Dovecot can't start with error pop3-login & imap-login not supported protocol family

sunhux G sunhux at gmail.com
Wed Feb 16 06:01:43 EET 2011


I've done the installation (rpm downloaded from the RHES4 link
given by Oli below) but dovecot won't start, it gave
the error pop3-login & imap-login not supported by protocol.

I'm sure with a much older version (in my previous post) of
dovecot, I'm able to start up dovecot & it did not give this
error.  Thought dovecot is suppose to come with pop3 & imap?


# rpm -Uvh --force mysqlclient14-4.1.22-1.el4s1.1.i386.rpm
warning: mysqlclient14-4.1.22-1.el4s1.1.i386.rpm: V3 DSA signature: NOKEY,
key ID 443e1821
Preparing...                ###########################################
[100%]
   1:mysqlclient14          ###########################################
[100%]
/sbin/ldconfig: /usr/lib/libcpqlsptransport.so.0 is not a symbolic link
[root at tmp]# rpm -qa | grep -i mysql
mysql-4.1.12-3.RHEL4.1
perl-DBD-MySQL-2.9004-3.1
php-mysql-4.3.9-3.8
mysql-server-4.1.12-3.RHEL4.1
mysqlclient14-4.1.22-1.el4s1.1   <== it's there now
[root at tmp]# rpm -i ./dovecot-2.0.9-1_125.el4.i386.rpm
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
[root at tmp]# cd /etc
[root at etc]# ls -ld rc*/*dove*
lrwxrwxrwx  1 root root 17 Feb 16 11:37 rc0.d/K01dovecot ->
../init.d/dovecot
lrwxrwxrwx  1 root root 17 Feb 16 11:37 rc1.d/K01dovecot ->
../init.d/dovecot
lrwxrwxrwx  1 root root 17 Feb 16 11:37 rc2.d/K01dovecot ->
../init.d/dovecot
lrwxrwxrwx  1 root root 17 Feb 16 11:37 rc3.d/K01dovecot ->
../init.d/dovecot
lrwxrwxrwx  1 root root 17 Feb 16 11:37 rc4.d/K01dovecot ->
../init.d/dovecot
lrwxrwxrwx  1 root root 17 Feb 16 11:37 rc5.d/K01dovecot ->
../init.d/dovecot
lrwxrwxrwx  1 root root 17 Feb 16 11:37 rc6.d/K01dovecot ->
../init.d/dovecot
[root at nspplss2 etc]# ls -ld rc*/S*dove*
ls: rc*/S*dove*: No such file or directory
[root at nspplss2 etc]# pwd
/etc
[root at etc]# ls rc*/*postf*
rc0.d/K30postfix  rc2.d/S80postfix       rc4.d/S80postfix  rc6.d/K30postfix
rc1.d/K30postfix  rc3.d/S99postfixstart  rc5.d/S80postfix
[root at etc]# ln -s /etc/init.d/dovecot /etc/rc3.d/S70dovecot
[root at etc]# ln -s /etc/init.d/dovecot /etc/rc5.d/S70dovecot

[root@]# init.d/dovecot start
Starting Dovecot Imap: Error: 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]

[root at etc]# telnet localhost 110
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

[root at etc]# rpm -qa | grep dove
dovecot-2.0.9-1_125.el4
[root at etc]# chkconfig --list | grep pop3
[root at etc]# chkconfig --list | grep imap
On Tue, Feb 15, 2011 at 8:39 PM, Oli Schacher <dovecot at lists.wgwh.ch> wrote:

> On Tue, 15 Feb 2011 18:00:53 +0800
> sunhux G <sunhux at gmail.com> wrote:
>
> > I'm on RHES 4.x
> >
> > I downloaded 2 dovecot RPM packages from
> >  http://packages.sw.be/dovecot/
> >
> > dovecot-1.0.13-1.el4.rfx.i386.rpm       13-Nov-2010 22:15  1.8M
> > RHEL4 and CentOS-4 x86 32bit
> >    and
> > dovecot-0.99.13-1.2.el4.test.i386.rpm   21-Feb-2005 16:57  693K
> > RHEL4 and CentOS-4 x86 32bit
> >
>
> [...]
> >Q1:
> >Is the test version rpm  of dovecot reliable?  It's only half the size
> >of the other rpm (that I was not able to install)
>
> 0.9 / 1.0 : These versions are way out of date and you will probably
> have a hard time getting support. I suggest you try the current
> versions from atrpms.net We have been using the 2.0 RHEL5 packages by
> Axel Thimm for quite some time now and they work flawlessly.
>
> Link for RHEL4 packages: http://packages.atrpms.net/dist/el4/dovecot/
>
> Maybe this fixes Q2 as well ;-)
>
> Q3: You'll find lots of examples / tutorials in the dovecot wiki :
> http://wiki2.dovecot.org/#HOWTOs.2C_examples_and_tutorials
>
> HTH
>
> Oli
>


More information about the dovecot mailing list