Strange dovecot error

Discussion in 'Installation/Configuration' started by diablo666, Apr 17, 2014.

  1. diablo666

    diablo666 Active Member HowtoForge Supporter

    Hi there,
    i've an ispconfig server baed on debin 7, in the last 3 days, dovecot started crash during the night.

    The error i've found in log is this

    Code:
    dovecot: dovecot: Fatal: Time just moved backwards by 31 seconds. This might cause a lot of problems, so I'll just kill myself now. http://wiki.dovecot.org/TimeMovedBackwards
    That error started about after 1 month that ve had migrated from Esxi 4.1 to vcloud director, don't know if this can influence dovecot in some ways (sounds strage).

    Any idea?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The problem is that the timer of your vm is not stable, so that system time differs more then 2 seconds from real time so dovecot shuts itself down to avoid problems with mail delivery that can be caused by wrong timestamps. You can fix that by installing / activating NTP on the host machine of the server and inside the vm. If you use a nfs storage for the emails, then install ntp on the nfs server as well.
     
  3. diablo666

    diablo666 Active Member HowtoForge Supporter

    Hi there,
    i've checked ntp and he's working fine, the date is correct.

    I don't know if the vcloud director got date syncronized, i hope yes...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The error message is clear about the cause, your time moved backwards and that should never happen so dovecot has to do a emergency shutdown. Thats a common issue e.g. on vmware servers and even noted in the vmware knowledge database that ntp has to be enabled in the vmware host server then. So the issue must be the same in your vcloud system.
     
  5. diablo666

    diablo666 Active Member HowtoForge Supporter

    Thank you very much for response!

    I'll ask the provider for the real configuration of the node.
     
  6. diablo666

    diablo666 Active Member HowtoForge Supporter

    Hi there,
    i've found the the sync with host was not syncronized.

    If i configure the sync with the host system, i've to disable ntp?

    (First time this problem heappen to me, worst provider ever...)
     

Share This Page