[ntp:questions] Re: synchronisation lost problem

Serge Tchesmeli zztchesmeli at echo.fr
Tue Dec 7 12:16:46 UTC 2004


Le Mardi 07 Décembre 2004 13:01, Harlan Stenn a écrit :
> What value is in your ntp.drift file?
I have try the remove drift (and restart ntp) same problem occurs.
Actual drift value:
192.125

>
> What is the output of "ntpq -p" on that machine?
>

ntpq -p -n

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*192.168.0.150   195.220.194.193  3 u  920 1024  377    0.318   62.655  24.058
+192.168.0.151   195.220.194.193  3 u  401 1024  377    0.489   81.598  12.469


Here the ntp.conf:


server dns01.echo-net.net version 4
server dns02.echo-net.net version 4


#
# Drift file.  Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
#
driftfile /etc/ntp/drift

authenticate no

restrict default ignore

#server dns01.echo-net.net
restrict 192.168.0.150 nomodify

#server dns02.echo-net.net
restrict 192.168.0.151 nomodify

# allow everything from localhost
restrict 127.0.0.1

#debug
statistics loopstats
statsdir /var/log/ntp/
filegen peerstats file peers type day link enable
filegen loopstats file loops type day link enable
logfile   /var/log/ntp.log
logconfig =all



--
serge



More information about the questions mailing list