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

.



Relevant Pages

  • syncing two machines, microsecond precision?
    ... Hi, I'm trying to sync two machines, one as the server the other as the ... client, both sitting on a private switched network. ... filegen clockstats file clockstats type day enable ... ntpq> rv ...
    (comp.protocols.time.ntp)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • Re: More Get-IPlayer Questions
    ... to use with mutt mail client. ... antinat - 0.90-4 - Antinat is a flexible SOCKS server and client ... protocol for Sybase or MS SQL Server. ... ifstat - 1.1-1 - InterFace STATistics Monitoring ...
    (uk.comp.os.linux)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • Re: notrust alternative?
    ... Any entries shown in ntpq other than those you configured are spurious and the result of tampering in the sources that leave here. ... My concern is that my server might be using systems other than the five I have listed in my ntp.conf as a synchronization source. ... restrict default kod nomodify notrap nopeer noquery ...
    (comp.protocols.time.ntp)