异常处理(四)---------CentOS搭建邮箱服务器启动dovecot报错Address family not supported by protocol

报错信息:

[root@VM_0_4_centos ~]# service 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]

原因:不支持ipv6(其中的一种可能性)

解决办法:修改dovecot.conf

# vi /etc/dovecot/dovecot.conf

第26行改为

listen = *

重新启动 

[root@VM_0_4_centos ~]# service dovecot start
Starting Dovecot Imap:                                     [  OK  ]
发布了45 篇原创文章 · 获赞 113 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/shouchenchuan5253/article/details/104694590
今日推荐