Salut,
Ce n’est pas une bien grande astuce, mais si ça peut servir… Dovecot n’aime pas du tout ntpdate…
Apr 13 13:58:08 passerelle dovecot: dovecot: Fatal: Time just moved backwards by 135 seconds. This might cause a lot of problems, so I'll just kill myself now. http://wiki.dovecot.org/TimeMovedBackwards
Apr 13 23:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 14 13:12:55 passerelle dovecot: dovecot: Fatal: Time just moved backwards by 134 seconds. This might cause a lot of problems, so I'll just kill myself now. http://wiki.dovecot.org/TimeMovedBackwards
Apr 14 18:15:07 passerelle dovecot: dovecot: Time just moved backwards by 2 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 14 18:15:10 passerelle dovecot: auth(default): Time just moved backwards by 2 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 15 06:15:07 passerelle dovecot: dovecot: Time just moved backwards by 2 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 15 06:15:10 passerelle dovecot: imap-login: Time just moved backwards by 2 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 15 13:15:07 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 16 13:15:07 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 16 18:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 17 13:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 18 13:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 18 18:15:07 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 19 13:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 19 18:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Apr 20 06:15:06 passerelle dovecot: dovecot: Time just moved backwards by 3 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
May 3 13:13:41 passerelle dovecot: dovecot: Fatal: Time just moved backwards by 87 seconds. This might cause a lot of problems, so I'll just kill myself now. http://wiki.dovecot.org/TimeMovedBackwards
May 3 18:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
May 4 06:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
May 4 13:15:08 passerelle dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Installez donc openntpd à la place, il ajuste l’heure plus doucement et ne cause pas d’arrêt de Dovecot…
[code]# apt-get remove --purge ntpdate
apt-get install openntpd
ntpd -s
cat /var/log/syslog|grep ntpd
May 4 16:19:02 passerelle ntpd[3285]: ntp engine ready
May 4 16:19:19 passerelle ntpd[3285]: peer 192.168.0.254 now valid
May 4 16:19:20 passerelle ntpd[3285]: peer 91.121.19.179 now valid
May 4 16:19:22 passerelle ntpd[3285]: peer 212.18.3.19 now valid
May 4 16:19:27 passerelle ntpd[3285]: peer 212.68.213.6 now valid
May 4 16:19:27 passerelle ntpd[3285]: peer 62.112.195.17 now valid
May 4 16:20:22 passerelle ntpd[3284]: adjusting local clock by -0.859499s
[/code]
EDIT: Openntpd étant dans les backports, utilisez plutôt NTP si vous ne souhaitez pas ajouter les backports à votre sources.list
isalo.org/wiki.debian-fr/index.php?title=NTP