启动dovecot报错Address family not supported by protocol

回复 收藏
正在启动 Dovecot Imap:Error: socket() failed: Address family not supported by protocol
Error: service(managesieve-login): listen([::], 4190) failed: Address family not supported by protocol
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(lmtp): listen([::], 24) 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

这是因为系统不存在ipv6, 解决办法:
vi  /etc/dovecot/dovecot.conf  
把listen = * [::]改为listen = *

2015-02-05 19:33 举报
已邀请:
0

wuhen

赞同来自:

谢谢铭哥,我昨天也遇到这个问题,上网找答案解决了

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: