Hi All,
I have recently experience this strange problem. Dovecot always kill itself. The log file says:
" Fatal: Time just moved backwards by 12 seconds. This might cause a lot of problems, so I'll just kill myself now. http://wiki.dovecot.org/TimeMovedBackwards "
From my understanding from the wiki, it is something related to ntpd but i do not have access to time updating service of my server. it is a vps.
Since i dont have access to server's time updating service, i am thinking to create a cron job to restart dovecot every 10 minutes. So that even though dovecot kill itself due to time move backwards, 10 minutes later it will restart itself. However, i am not familiar with shell script.
Can anyone help? Just a simple crontab entry or shell script to start dovecot every 10 mins will do.
Or if you have any better solutions, i will be more than pleased to hear
Thank you very much
I have recently experience this strange problem. Dovecot always kill itself. The log file says:
" Fatal: Time just moved backwards by 12 seconds. This might cause a lot of problems, so I'll just kill myself now. http://wiki.dovecot.org/TimeMovedBackwards "
From my understanding from the wiki, it is something related to ntpd but i do not have access to time updating service of my server. it is a vps.
Since i dont have access to server's time updating service, i am thinking to create a cron job to restart dovecot every 10 minutes. So that even though dovecot kill itself due to time move backwards, 10 minutes later it will restart itself. However, i am not familiar with shell script.
Can anyone help? Just a simple crontab entry or shell script to start dovecot every 10 mins will do.
Or if you have any better solutions, i will be more than pleased to hear
Thank you very much