[PLUG] Troubleshooting date and hwclock

Santosh Dawara sdawara at gmail.com
Sat Jan 5 08:26:21 IST 2008


Dear PLUG,

I need help troubleshooting a Linux RedHat (Centos 4.4) installation. I am
not sure if the problem is with the OS or with the Hardware clock (CMOS).

The "date" command returns the incorrect time.

Steps to reproduce:
1. Set the Linux date/time correctly,
2. One week later, the clock has fallen behind by around 5 - 10minutes and
has to be reset.

On running the following commands, I have pasted the output

*# hwclock -r
Thu 11 Oct 2007 03:19:50 PM IST  -0.015928 seconds
*
The hwclock reading is 5 minutes behind time.

*# date
Thu Oct 11 15:14:58 IST 2007
*
The date command shows 10 minutes behind time.

The contents of my */etc/sysconfig/clock

ZONE="Asia/Calcutta"
UTC=false
ARC=false
*
I am *not* running a Network time server or using the NTP service.

Any help debugging/troubleshooting the issue would be great. I'm not sure
what I am doing wrong.

Best Regards,
Santosh Dawara
-- 
visit me at http://www.sukshma.net



More information about the Plug-mail mailing list