Hi Alastair,
On Tue, Feb 16, 2010 at 08:16:36PM +0000, Alastair Sherringham wrote:
Feb 16 20:35:13 calliope kernel: [ 47.073409] eth0:
no IPv6 routers present
Feb 16 20:00:28 calliope ntpdate[1043]: step time server 192.33.96.102 offset
-2091.895883 sec
I appreciate that time went backwards here which upsets dovecot,
but..
Feb 16 20:00:37 calliope ntpd[1187]: synchronized to
213.132.202.192, stratum 2
You're now synced to an NTP server and have the correct time. Does
it later lose sync?
Is it possible that what you describe as an "OK" boot had
independent_wallclock set to 0 so you were unable to set the time,
it remained wrong, and dovecot did not complain? Personally I would
rather have the right time and make dovecot start after ntpdate.
Having it boot with the wrong time and then have ntpdate/ntp adjust
it is the best I can offer I'm afraid, because that's the best I've
been able to achieve.
Just in case you might be thinking that the host you're on has the
wrong time:
kahlua$ date && ntpq -np
Tue Feb 16 20:47:13 UTC 2010
remote refid st t when poll reach delay offset jitter
==============================================================================
+209.237.247.192 212.13.195.4 4 u 770 1024 377 140.306 0.702 0.091
212.13.195.3 212.13.204.4 3 u 900 1024 377 0.280 2.328 0.271
212.13.195.4 212.13.204.4 3 u 910 1024 377 0.364 1.133 7.864
2001:ba8:1f1:f0 212.13.204.4 3 u 764 1024 377 4.560 0.207 1.500
2001:ba8:1f1:f0 212.13.204.4 3 u 767 1024 377 0.336 0.264 0.739
*212.13.204.4 195.66.241.10 2 u 29 1024 377 0.496 2.619 1.066
+212.13.204.5 195.66.241.2 2 u 989 1024 377 0.559 -0.330 0.066
So I don't know why it would be consistently around 35 minutes off.
I do note that:
kahlua$ date && hwclock --show && uptime
Tue Feb 16 20:49:59 UTC 2010
Tue 16 Feb 2010 21:08:23 UTC -0.710159 seconds
20:50:00 up 349 days, 2:02, 5 users, load average: 0.52, 0.89, 1.23
which is obviously about 20 minutes off, but the hardware clock will
get set from the system clock next time it's shut down, and I can't
imagine why it would be used for anything. I'll sync it from the
system clock now, though.
kahlua$ sudo hwclock --systohc && date && hwclock --show
Password:
Tue Feb 16 20:51:53 UTC 2010
Tue 16 Feb 2010 20:51:54 UTC -0.472518 seconds
Does that change things?
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
I have just
recently purchased a Feathercraft Big Kahuna kayak
does it have a heater?
Of
course not. Everyone knows you can't have your kayak and heat it.
-- James Fidell