Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: voidmain on 16 August 2002, 21:02

Title: Clock on this server is slow...
Post by: voidmain on 16 August 2002, 21:02
The clock on the server that runs this forum is 9 minutes and 47 seconds slow.. Maybe they aren't running xntpd?
Title: Clock on this server is slow...
Post by: Master of Reality on 16 August 2002, 21:03
9:47 slow relative to what?
Title: Clock on this server is slow...
Post by: voidmain on 16 August 2002, 21:11
Compared to the space/time continuum.  Or the atomic clock at the US naval observatory.  Or the humanclock (http://www.humanclock.com/).
Title: Clock on this server is slow...
Post by: Master of Reality on 16 August 2002, 21:18
if you figured that out by posting and checking, then you have got way to much time on your hands if you figured it out to the second.

[ August 16, 2002: Message edited by: Master of Reality / Bob ]

Title: Clock on this server is slow...
Post by: voidmain on 16 August 2002, 21:19
relative to what?  (http://smile.gif)
Title: Clock on this server is slow...
Post by: Master of Reality on 16 August 2002, 21:23
relative to the time the average canadian has on his hands which is 87% of the time that the average european has on his/her hands but only 1/33 of the free time that retired jewish americans have.
Title: Clock on this server is slow...
Post by: TU on 16 August 2002, 21:25
time.mit.edu it is right it 0wns you and you know it.
Title: Clock on this server is slow...
Post by: voidmain on 16 August 2002, 21:30
Ah what is time anyway?  I would guess it directly relates to the number of heartbeats in a lifetime.  And that would be different for each of us. And hell, you only get so many heartbeats so why waste them all exercising. Get drunk and be merry.
Title: Clock on this server is slow...
Post by: Master of Reality on 16 August 2002, 21:33
its 10 seconds fast relative to my watch
Title: Clock on this server is slow...
Post by: Master of Reality on 16 August 2002, 21:35
ummmm... how do i change the time in linux?
Title: Clock on this server is slow...
Post by: voidmain on 16 August 2002, 21:37
You must have a slow metabolism.
Title: Clock on this server is slow...
Post by: voidmain on 16 August 2002, 21:40
# date -s "HH:MM:SS"
# /sbin/hwclock --systohc

The second command syncs the hardware clock with the OS clock.

And of course you can sync with the atomic clock at the naval observatory (and many other sites) using "xntpd". It will keep your system in sync.

[ August 16, 2002: Message edited by: VoidMain ]

Title: Clock on this server is slow...
Post by: Master of Reality on 16 August 2002, 10:05
what if any is the difference between ntp and xntp?
and where can i find a list of the servers that i can connect to. I have found two setup pages and each lists a different set of server (for different places of course). Is there a master list of time servers somewhere?

[ August 16, 2002: Message edited by: Master of Reality / Bob ]

Title: Clock on this server is slow...
Post by: voidmain on 16 August 2002, 17:45
quote:
Originally posted by Master of Reality / Bob:
what if any is the difference between ntp and xntp?
and where can i find a list of the servers that i can connect to. I have found two setup pages and each lists a different set of server (for different places of course). Is there a master list of time servers somewhere?



The difference between xntpd and ntpd is the 'x'.  For the longest time it was called "xntpd" (eXperimental) and now for v4 they dropped the 'x' because of hounding.  I guess I should have used the more up to date name "ntpd", habit. See:
http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-s-def.htm#AEN1282 (http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-s-def.htm#AEN1282)

The list of servers:
http://www.eecis.udel.edu/~mills/ntp/servers.htm (http://www.eecis.udel.edu/~mills/ntp/servers.htm)
Title: Clock on this server is slow...
Post by: Master of Reality on 17 August 2002, 01:08
quote:
Originally posted by Ex Eleven / b0b:
M0R, Your sig is getting like Goosebury Clocks

'cept mine if filled with good links and i dont give a shit becausei am using Lynx   (http://smile.gif)

[ August 17, 2002: Message edited by: Master of Reality / Bob ]

Title: Clock on this server is slow...
Post by: Master of Reality on 20 August 2002, 08:45
ummm... i installed and started ntpd after configuring it with webmin, but it didnt change my time. Its still ten minuts fast or whatever.
Title: Clock on this server is slow...
Post by: voidmain on 20 August 2002, 08:58
Look for any "ntp" messages in your /var/log/messages file:

grep ntp /var/log/messages | tail

And make sure ntpd is running:

ps auxwww | grep ntp

[edit]And it will not make large changes in time immediately.  It changes your clock gradually so as not to cause time sensitive apps to freak out..[/edit]

[ August 19, 2002: Message edited by: VoidMain ]