Everybody talks about how we need a FAQ, but nobody does anything about it.
So I decided to do something about it. Here is the text of several recent
messages that answered questions that everyone agrees should be on a FAQ.
Send updates to me --
Please write it up in a form I can include in the FAQ, and I'll include it.
Note, This is a "non-fat" FAQ. I include stuff from other people that
I think is applicable. I include it as it comes to me, warts and all.
I don't usually write things myself because I don't have the time. I
don't usually edit things unless I write them myself.
Because of the un-edited format, you should read the *whole thing*
before you act on anything you read here. Frequently, later items
contain corrections to earlier items. I have tried to group related
items together, but sometimes that is not possible.
I post the accumulation once a month.
It's rough but ready.
========================================================================
Rick Thomas, Manager Supercomputer Remote Access Center
Rutgers University, College of Engineering
Internet: rbtho...@jove.rutgers.edu
UUCP: {any backbone site}!rutgers!rbthomas
========================================================================
Standard disclaimers apply. All messages quoted here are the opinions
of their respective authors, and do not necessarily represent the opinions
(if any) of their respective employers, or of the compiler of this FAQ.
=========================================================================== >Feb 24 10:03:21 lilith last message repeated 48 times tickadj -A -s -q -t 9999 You can leave off the -t 9999 if you want. We find that our Suns drift Also, if you don't use a window system on the console, the slow console We *really* need a FAQ for this list. This question gets asked several times =========================================================================== I recently worte: > xntpd -b -f /etc/ntp.drift >Recently, some of our Sun4 users (SunOS 4.1.1) have reported seeing the > xntpd: previous time adjustment didn't complete >in their syslogs. What would normally cause such a message? Is it serious? tickadj -A -s -t 9999 The -s option sets the value of dosynctodr to zero in the running kernel. Thanks again for the help. =========================================================================== =========================================================================== chongo, I do not have the resources to provide individual configuration advice Dave =========================================================================== Thanks! We really need a faq for comp.protocols.time.ntp. When you talk about using tickad on a sun you need to mention that Bill Jones =========================================================================== The first problem is that SUNs have too much tolerance on their clocks. The approach I used is to start xntpd on a new machine (as slave - I didn't The basic idea is to sit on your hands for a few days, don't use the read more »
From: igles...@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: xntpd: previous time adjustment didn't complete
>I am also getting lots (I mean lots) of these messages on all Suns running
>xntpd as a client. An example of the /usr/adm/messages file follows:
>Feb 24 10:03:30 lilith xntpd[535]: Previous time adjustment didn't complete
how we run tickadj:
less with that setting.
proms will make the system loose interrupts and the time will drift.
a month. :-(
From: gl...@athena.cs.uga.edu (Glenn F. Leavell)
Subject: Re: xntpd: previous time adjustment didn't complete
>machines accross the network "listen" for the time by running xntpd as:
>error:
and directly to the net.) The consensus seems to be that the Sun clock
is a very bad one. I was already using 'tickadj -A' to set the value
of tickadj to an optimal value in the running kernel. However, a couple
of other paramaters are also useful (and most likely necessary):
This has the effect of telling the OS to stop trying correct the clock's
drift (the work is left for xntp!). The -t 9999 option sets the value
of tick in the running kernel to 9999. According to several of the responses
I received, this is a good value for most Suns. However, I have not seen
a complete list.
From: igles...@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: ntpdate: errors when trying to synch to other xntp hosts
Keywords: ntpdate xntp3
> For the most part, everything runs fine, but on some of our
> workstations we get: ``no server suitable for syncronization found''
> when ntpdate runs.
(i.e. make sure everything necessary to use nameservers is up and running
if you are using them), and that any routing that needs to be setup is in
place before you run ntpdate.
> ntpdate.
as I mentioned above.
> were set up for xntp3. It would sure make it easier to track.
From: Mi...@UDEL.EDU
Subject: Re: NTP peers
for a specific installation - there are many thousands of them now. The
ntpd (version 1) distribution has been obsoleted twice over and been
replaced by NTP Version 3. A comprehensive Unix daemon is available
in the compressed tar archive pub/ntp/xntp3.tar.Z on louie.udel.edu.
It includes scads of information on installation, configuration and
peer selection. Other files in the pub/ntp/doc directory on that host
contain probably more than you will ever care to know about timekeeping
in general and, in particular, the file clock.txt, which contains a
list of public stratum-1 and stratum-2 time servers. Happy chime.
From: jo...@hermes.chpc.utexas.edu (William L. Jones)
Subject: Just a few small suggestions!
if you are running Sun OS 4.1.3 you don't need the "-t 9999" on tickadj.
From: gee...@ica.philips.nl (Geert Jan de Groot)
Subject: Re: Reachability keeps resetting zero after a STEP
>I just recently started trying to use ntp on my sun systems. I've
>compiled the xntp3 stuff from louie.udel.edu and things kinda run. The
>behavior I am seeing is that everytime a STEP is performed, all the
>servers I talk to have their reachability reset to 0 and everything
>starts over again. This even happens to the LOCAL_CLOCK I configured
>into the server. Any help would be greatly appreciated. I don't
>understand much about ntp yet, so I am probably not understanding
>something...
solved. Dave, please correct me if I am wrong, and maybe it is a good idea
to include it in the notes files..
Because NTP requires removal of synchonisation to the built-in
NVram clock (that is where tickadj -s option is for, to reset dosynctodr).
Now your SUN really starts drifting, and ntp tries to get up with
that, but because the clock error is high (several hundreds of ppm),
NTP does not succeed at first, and it takes a few days to adjust.
In that time, the SUN will frequently loose synchonisation , which
you can determine by looking at the status words in your log file,
combined with appendix A of RFC1305.
Hence, it is a bad idea to have the SUN synchonize anything else.
Wait for things to stabilize first!
want to confuse the server I used), wait for two or three days, and then
check /etc/ntp.drift. Because xntpd raises or lowers the drift value only a
few ticks per hour, at first xntp is not able to correct the frequency
error. After a while, the time error between your clock and the reference
gets higher and higher and xntpd starts to complain:
>08:23:00 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.248992682)
>08:24:06 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.248992682)
>08:25:08 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.404627085)
>08:26:12 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.404627085)
>08:27:16 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.404627085)
>08:28:20 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.577525616)
>08:29:24 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.757438898)
>08:30:28 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.759768605)
>08:31:34 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.757438898)
>08:32:36 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.757438898)
>08:33:40 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.757438898)
>08:34:44 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.757438898)
>08:35:48 xntpd: adjust: STEP dropped (16.1.0.22 offset 0.757438898)
SET, no longer ADJUSTED. This is what you see:
>08:36:54 xntpd: peer 130.43.2.2 event 84 status 9024
>08:36:54 xntpd: system event 4 status c655
>08:36:54 xntpd: peer 129.189.134.11 event 84 status 9024
>08:36:55 xntpd: peer 127.127.1.5 event 84 status 8024
>08:37:56 xntpd: peer 16.1.0.22 event 84 status 9024
less often, until the drift value is close enough that xntpd is able
to steer the local time within its limits.
server (yet) to
...