Slow system clock and stray hardware clock, pleas help!
Hi there,
This topic is about a Linux CentOS 4.4 Server (kernel 2.6.9-42.ELsmp, i686)I recently got, but because it is unmanaged I need to figure out this issue myself. The problem: The system clock runs slwoer than it should. As a result, time looses sync within 2 minutes and continues to becomre more and more wrong. (The hardware clock eventually goes astray too but at a much lower rate.) To test this I compared the system clock and hardware clock by issuing the following command repeatedly: date +"%a %d %b %Y %I:%M:%S %p %Z";/sbin/hwclock The Output was: Quote:
I set up ntpd to sync the time, but this doesn't help because once the daemon sets the time, the system clock ticks too slowly and the time falls behind again. I also tried a Cronjob set to run rdate every 2 minutes but that really doesn't solve the problem either. tickadj is not helping because it's only accepting a certian range of values (9000-11000) and the highest isn't good enough. If I step outside that range I get: Quote:
Quote:
|
Update: I've got adjtimex installed finally. Now I'm trying to figure out how to get it to fix this issue for me or if I have to do all this dirty work myself.
|
I thought ntpd managed how much the clock strayed and fixed that. Or I could be wrong. Make sure that adjtimex is the actual name
Code:
find / -name adjtimex -print |
Quote:
|
Probably a bit out of left field, check your M/B BIOS battery. lots of lecky things run slow on sub-voltage. Although most modern M/B's will warn of this and also switch to auto config on boot
if the Flattery is bat. good luck regards shorty943. |
add on cards?
I had a similar problem with my AMD64 box. Turned out I had a 33 MHz PCI video card in the 66 MHz bus. Changing the card solved the problem. I also had slow hard drive response which was fixed with new video card.
|
I'm with Shorty, change your BIOS battery. Usually a CR2032 battery. That's what it is in the States, anyway. Not sure of your location. That will fix it right up, I bet.
Regards, Brandon |
All times are GMT -5. The time now is 03:00 PM. |