D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Time again

 

Here you go:

zoon root # ntpq -pn
    remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
80.28.46.78     130.206.3.166    2 u   37 1024  371  112.611  -49746. 9259.88


Thanks for the assistance BTW :o)

Martin.

On Thursday 21 April 2005 22:24, dave morgan wrote:
On Thu, 21 Apr 2005 18:11:04 +0100 (BST), "Martin White"

<martin@xxxxxxxxxxxxx> wrote:
Right, time was drifting again when i checked just now so i'm just
uninstalled opennntpd and installed ntpd, so shall we start again :o)

I now have that program i was being asked about, it's output is:

zoon root # ntpq -p
    remote           refid      st t when poll reach   delay   offset
jitter
==========================================================================
==== 80-28-46-78.ads 195.220.94.163   2 u   25  128    7  113.738  -624.25
328.125

could you try that with -pn so I can see the remote ip address please?
that delay is horrible, I would suggest adding some more servers in
the longer term, then discarding those with the worst delay and jitter
figures.

Note that at this stage, i guess there may now not be a problem. Right now
the clock is correct, i need to see what happens.

it will take approx 24 hours for the clock to settle down to the
correct time as ntpq adjusts the clocks frequency and phase

The only thing i'm not so sure about here is what i need to add where.

When installing / compiling i get told that there is now
/etc/init.d/ntpd-client for synchronising at boot time, and
/etc/init.d/ntpd for keeping the clock in sync.

I have never heard of ntp-client - hopefully someone else can help

That's about all it says on the subject though.

It _LOOKS_ like if i run the first, then i run the second, the second
process will take over from the first and will not create a second
instance of ntpd. Is this correct? It looks like it from the output of a
ps command.

If so then i can add the first to my "boot" runlevel and then second to my
"default" run level.

Other than that, i've left all settings as is.

The drift file is currently 0 bytes...

it will not right the drift file until the clock has settled down,
might take a couple of hours.

Martin.

best regards
Dave

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html