![Dovecot 安装:这个错误是什么意思?](https://linux22.com/image/580877/Dovecot%20%E5%AE%89%E8%A3%85%EF%BC%9A%E8%BF%99%E4%B8%AA%E9%94%99%E8%AF%AF%E6%98%AF%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D%EF%BC%9F.png)
我在 CentOS 6 (linode) 上安装了 postfix 和 dovecot 以及 MySQL。表和用户已经设置好,postfix 安装正常,但 dovecot 在邮件日志中显示此错误:
Warning: Killed with signal 15 (by pid=9415 uid=0 code=kill)
接下来的几行是这么说的:
Apr 7 16:13:35 dovecot: master: Dovecot v2.0.9 starting up (core dumps disabled)
Apr 7 16:13:35 dovecot: config: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
Apr 7 16:13:35 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1: protocols=pop3s is no longer supported. to disable non-ssl pop3, use service pop3-login { inet_listener pop3 { p$
Apr 7 16:13:35 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:5: ssl_cert_file has been replaced by ssl_cert = <file
Apr 7 16:13:35 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:6: ssl_key_file has been replaced by ssl_key = <file
Apr 7 16:13:35 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:8: namespace private {} has been replaced by namespace { type=private }
Apr 7 16:13:35 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:24: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely
Apr 7 16:13:35 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:25: auth_user has been replaced by service auth { user }
我按照 CentOS 5 上的安装说明进行操作,并对来自不同来源的 dovecot.conf 文件中针对 CentOS 6 的更改进行了更改。因此,dovecot.conf 文件可能不正确,但是我还没有找到可以使 dovecot 正确安装的良好来源。
有人能告诉我上面的错误是什么意思吗?终端没有给出任何关于启动 OK 或 FAIL 的消息。当我发出命令时service dovecot start
,它显示:Starting Dovecot Imap:
仅此而已。
答案1
检查您的dovecot.conf
文件以确保所有花括号都已终止。
事实上,由于这是一个新的设置,只需运行doveconf -n > dovecot-new.conf
,然后获取新的配置文件并用它替换当前配置文件。
答案2
无论 PID 9415 是什么,它都决定要向SIGTERM
您的 dovecot 服务器发送一个。我首先要找出它是什么(ps
ftw),然后尝试确定它为何对 Dovecot 如此反感。