Re: synchronization



Richard B. Gilbert wrote:

Ron Croonenberg wrote:

Hello,

I am trying to do the following.

We are planning to have a time server with it's own gps/clock and have other servers sync with that one.

For now I am setting up one machine that servers as the main time server and let others sync with it.

Problem I have is that I see things in the ntp.log like :
9 Mar 09:06:21 ntpd[2431]: time reset 1.734569 s
9 Mar 09:06:21 ntpd[2431]: synchronisation lost
9 Mar 09:15:01 ntpd[2431]: synchronisation lost
9 Mar 09:30:03 ntpd[2431]: time reset 1.740734 s
9 Mar 09:30:03 ntpd[2431]: synchronisation lost
9 Mar 09:34:28 ntpd[2431]: synchronisation lost

So I either have a problem in the server and client config files or I am facing another problem ?

tia,

Ron


Please post the ntp.conf files for both the server and the client. Also post the output of "ntpq -p" for both the server and the client. Be sure that both server and client have had ntpd running for at least twenty minutes before doing the ntpq -p.

Also post the version of ntpd you are running on each machine.

Finally the O/S and version on each machine might be relevant.


thanks, I appreciate it.

here's what I have.


Server ntp.conf:
********************************************************
restrict default nomodify notrust
restrict 127.0.0.1
restrict xxx.yyy.zzz.0 mask 255.255.255.0 nomodify notrap

noquery

server 129.6.15.29
server 204.34.198.40
server 18.145.0.30

driftfile /var/lib/ntp/drift
logfile /var/log/ntp.log
broadcastdelay 0.008

authenticate no

keys /etc/ntp/keys
********************************************************



server ntpq -p :
********************************************************
remote refid st t when poll reach delay offset jitter
==============================================================================
+time-b.nist.gov .ACTS. 1 u 43 64 377 36.473 3598.51 33.187
*tick.usnogps.na .USNO. 1 u 50 64 377 107.202 3594.40 31.645
+NAVOBS1.MIT.EDU .PSC. 1 u 43 64 377 36.762 3596.60 32.328
********************************************************

server OS: Linux 2.4.21-4.ELsmp




client ntp.conf:
********************************************************
restrict default ignore
restrict xxx.yyy.zzz.8 mask 255.255.255.255 nomodify notrap noquery
restrict 127.0.0.1

noquery

server xxx.yyy.zzz.8

driftfile /var/lib/ntp/drift
broadcastdelay 0.008
logfile /var/log/ntp.log

authenticate no

keys /etc/ntp/keys
********************************************************





client ntpq -p:
********************************************************
remote refid st t when poll reach delay offset jitter
==============================================================================
*neptune.sub.dom NAVOBS1.MIT.EDU 2 u 50 64 377 0.214 -315.16 36.796
********************************************************

client OS : Linux 2.4.21-32.ELsmp

.