Postfix & Docevot & SASL:Dovecot 时间回溯问题和 smtpd&sasl 崩溃帮助

Postfix & Docevot & SASL:Dovecot 时间回溯问题和 smtpd&sasl 崩溃帮助

以下是当晚日志的部分内容:

Aug 10 00:51:28 randevu dovecot: Time just moved backwards by 196 seconds. This might cause a lot of problems, so I'll just kill myself now. http://wiki.dovecot.org/TimeMovedBackwards
Aug 10 00:54:49 randevu postfix/smtpd[5411]: warning: SASL: Connect to private/auth failed: Connection refused
Aug 10 00:54:49 randevu postfix/smtpd[5411]: fatal: no SASL authentication mechanisms
Aug 10 00:54:50 randevu postfix/master[4517]: warning: process /usr/lib/postfix/smtpd pid 5411 exit status 1
Aug 10 00:54:50 randevu postfix/master[4517]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Aug 10 00:55:46 randevu postfix/anvil[5355]: statistics: max connection rate 1/60s for (smtp:70.38.100.6) at Aug 10 00:52:10
Aug 10 00:55:46 randevu postfix/anvil[5355]: statistics: max connection count 1 for (smtp:70.38.100.6) at Aug 10 00:52:10
Aug 10 00:55:46 randevu postfix/anvil[5355]: statistics: max cache size 2 at Aug 10 00:52:24
Aug 10 01:09:13 randevu postfix/smtpd[5528]: warning: SASL: Connect to private/auth failed: Connection refused
Aug 10 01:09:13 randevu postfix/smtpd[5528]: fatal: no SASL authentication mechanisms
Aug 10 01:09:14 randevu postfix/master[4517]: warning: process /usr/lib/postfix/smtpd pid 5528 exit status 1
Aug 10 01:09:14 randevu postfix/master[4517]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Aug 10 01:10:14 randevu postfix/smtpd[5538]: warning: SASL: Connect to private/auth failed: Connection refused
Aug 10 01:10:14 randevu postfix/smtpd[5538]: fatal: no SASL authentication mechanisms
Aug 10 01:10:15 randevu postfix/master[4517]: warning: process /usr/lib/postfix/smtpd pid 5538 exit status 1
Aug 10 01:10:15 randevu postfix/master[4517]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Aug 10 01:11:15 randevu postfix/smtpd[5551]: warning: SASL: Connect to private/auth failed: Connection refused
Aug 10 01:11:15 randevu postfix/smtpd[5551]: fatal: no SASL authentication mechanisms

不明白。如何解决此问题。

早上系统重启后一切恢复正常。但是如何防止将来再次发生这种情况呢?

我读过了http://wiki.dovecot.org/TimeMovedBackwards并且我让 ntpd 在后台运行。

欢迎提供任何建议。

谢谢。

答案1

至少 VMware 在某些 Linux 内核/发行版上可能会出现问题。幸运的是,他们有针对多种 Linux 版本的推荐选项在他们的知识库中。(我猜你正在使用 VMware)。

另外,在虚拟主机上执行的操作(例如快照)可能会导致各种问题。

答案2

虚拟化客户机中的时间漂移​​很常见。各种“客户机添加/实用程序”旨在解决这一问题。在操作系统没有“客户机添加/实用程序”的情况下,根据应用程序的不同,运行定期时间同步/更新可能是可以接受的

答案3

如果您有 Virtualbox,那么“时间问题”可能也存在。通常不会,但谁知道呢?但幸运的是,Sun/Oracle 提供了有关如何处理此问题的信息。http://www.virtualbox.org/manual/ch09.html#idp13754496

请记住,这次时间跳转确实来自虚拟化,必须在主机、客户机和/或客户机添加部分中修复。

相关内容