I am having problem with my dovecot on CentOS machine.
The error message is as below.
server dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
I checked the link provided in the error message, I don't have ntpd running(did ps -ef | grep ntpd).
I found one pattern which would suggest that this happens at 4:36/37 (AM and PM).
maillog.2:Nov 1 16:36:59 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.2:Nov 3 04:37:00 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.2:Nov 4 04:37:00 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.2:Nov 5 04:36:59 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.2:Nov 6 16:36:59 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.3:Oct 26 16:36:59 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.3:Oct 29 04:36:57 server dovecot: dovecot: Time just moved backwards by 4 seconds. ...
maillog.3:Oct 29 16:37:00 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.3:Oct 30 16:37:00 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.3:Oct 31 16:37:00 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.4:Oct 20 04:36:59 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.4:Oct 21 16:37:00 server dovecot: dovecot: Time just moved backwards by 1 seconds. ...
maillog.4:Oct 22 16:36:59 server dovecot: dovecot: Time just moved backwards by 2 seconds. ...
maillog.4:Oct 24 16:36:57 server dovecot: dovecot: Time just moved backwards by 4 seconds. ...
I checked if any cron that does the time correction. I checked log at this time in /var/log/messsages
but could not find anything specific.
Please suggest me a way to find out what causes this time shift. Also let me know if any other info required.
I'm going to lob an answer out there: It's virtualized, its clock is all over the place, and occasionally the clock is dragged back a whole second; probably after some load.
I think the error's benign, but I completely support @michael and his suggestion that this VM needs to be retired with great speed. It's really challenging to find the right words for polite conversation to express just how important it is that this host be retired tomorrow.