Install VMware tools.  And sync the VM to the host and the host to a reliable time source problem solved.  VMware tools is a bit tricky the first go around but once you learn the trick your good to go.  The install will fail if called directly  ie.  ./<a href="http://install.pl">install.pl</a>    but perl <a href="http://install.pl">install.pl</a> works like hot butter.<div>
<br></div><div><a href="http://www.thoughtpolice.co.uk/vmware/howto/centos-5-vmware-tools-install.html">http://www.thoughtpolice.co.uk/vmware/howto/centos-5-vmware-tools-install.html</a></div><div><br></div><div>Should get you on your way.</div>
<div><br></div><div>I have a BO box on ESXi without any issues.</div><div><br></div><div>Greg<br><br><div class="gmail_quote">On Tue, May 24, 2011 at 5:23 PM, Michael Stauber <span dir="ltr"><<a href="mailto:mstauber@blueonyx.it">mstauber@blueonyx.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Gregg,<br>
<br>
> dovecot: Fatal: Time just moved backwards by 13 seconds. This might cause a<br>
> lot of problems, so I'll just kill myself now.<br>
<div class="im">><br>
> The problem is, it takes dovecot a lot longer than 13 seconds to come back<br>
> on, sometimes more than 30 minutes. Is there a way for me to have the<br>
> dovecot process come back up any sooner?<br>
<br>
</div>Your server is probably tied into an NTP server to automatically set the<br>
clock. Which all works fine. But your clock is drifting and whenever the NTP<br>
server "fixes" it by setting it to the correct time again, there is a more or<br>
less spectacular "jump" (like 13 seconds in your example). Which is enough to<br>
let Dovecot fall flat on its face.<br>
<br>
Active Monitor runs every 15 minutes to check all enabled services to see if<br>
they're running. So within 15 minutes at the most Dovecot should then be<br>
restarted automatically. That *may* fail first time around, but gets fixed<br>
during the 2nd Active Monitor run another 15 minutes later.<br>
<br>
How to fix this? Well, the best way ought to be to find out what makes the<br>
servers hardware clock go drifting and to fix that. Under VMware virtual Linux<br>
machines are known to have drifting clocks and there are some fixes available,<br>
which I cannot recall, as I usually avoid VMware like the plague.<br>
<br>
If it's a physical server, I would consult the motherboard manual and possibly<br>
the vendor support site for more info.<br>
<br>
At the worst you could try to fight the symptoms by either running the<br>
synchronization with the NTP server more frequently (so that the "jumps"<br>
aren't so massive). Or you could try to run the Active Monitor cronjob more<br>
frequently. That however creates too much overhead, as you don't really need<br>
to check every service like once a minute.<br>
<br>
So in that case a custom cronjob that just checks Dovecot (and restarts it if<br>
need be) could be a work around.<br>
<br>
But like said: Best would be to fight the cause, not to doctor with the<br>
symptoms.<br>
<br>
--<br>
With best regards<br>
<font color="#888888"><br>
Michael Stauber<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font style="font-family:courier new,monospace" size="1">*** Limo.Net Internet Services ***</font></div><div><font style="font-family:courier new,monospace" size="1">*** 777-Host.Com ***<br>
<br>       \\\|///<br>     \\  - -  //<br>      (  @ @  )<br>+---oOOo-(_)-oOOo---------------------------+<br>| Greg Schiedler<br>| Limo.Net Internet Services<br>| PO Box 2249<br>| Bethel, AK 99559-2249<br>| 541.926.2009/503.328.2009/800.767.3932<br>
| Fax: 888.777.6120<br>|<br>|   ooo0         <a href="http://www.Limo.Net" target="_blank">http://www.Limo.Net</a><br>|  (   )    0ooo E-Mail: Greg@Limo.Net<br>+---\ (-----(   )---------------------------+<br>     \_)     ) /<br>
            (_/</font><br>
</div>