Andy Wright wrote:> Hi list, > > Ever since the change to BST here in the UK (GMT to GMT+1) the clocks on > all my Centos 4.4 servers are 1 hour slow.Good morning, Andy Use /sbin/clock to check the time on your system's hardware clock. ntp and date will change the time on your OS but not necessarily on your hardware. You can change the hardware clock by using the date command to change the time and then typing "/sbin/clock -w" to write the time to hardware. W.
Andy Wright wrote:> Timezone is set to Europe/London, and I've tried with and without > "System clock uses UTC".Does the system clock run on UTC time? Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070328/f7efbad6/attachment.sig>
Hi list, Ever since the change to BST here in the UK (GMT to GMT+1) the clocks on all my Centos 4.4 servers are 1 hour slow. Timezone is set to Europe/London, and I've tried with and without "System clock uses UTC". If I disable NTP and set the time manually, then restart NTP, the time goes back 1 hour. Running `date` reports "Wed Mar 28 14:59:04 BST" - so it knows about the BST change, but that time is 1 hour slow - it's really 15:59 BST. All servers are fully patched - tzdata is at 2007d-1.el4 Any ideas anyone? Cheers, Andy.
Ralph Angenendt wrote:> Ralph > > Does the system clock run on UTC time?Hi Ralph, the hardware clock is set to the correct local time - one of the servers uses the rtc to switch itself on at 1am to receive offsite backups so I prefer this not to be UTC time. I have disabled "System clock uses UTC" and rebooted, but as soon as I run ntpd the system backs jumps back an hour. Andy.