I'm trying to set up time sync on a CentOS 5.5 VDS but can't figure out why it won't update to the correct timezone. e.g. After manually setting the correct date and time when I run this:
date && ntpdate au.pool.ntp.org && date
I get this:
Mon Oct 17 08:58:48 EDT 2011
16 Oct 17:58:01 ntpdate[14659]: step time server 202.60.94.11 offset -54048.345159 sec
Sun Oct 16 17:58:01 EDT 2011
etc/localtime has been replaced with a link to the Australia/Melbourne timezone file and `/etc/sysconfig/clock' has been edited accordingly. The server has been rebooted since those changes and appears to (at long last) be using the correct timezone, so why does ntpdate appear to be ignoring it?
Incidentally, rdate simply times out and I've yet to determine why. I also have the ntpd service installed but have it disabled until I get this issue sorted out.
read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 3519and I don't know how to interpret that. – John Gardeniers Oct 16 '11 at 23:11