Organization: Telecom CAC, Stratus Computer, Inc.
X-Mailer: ELM [version 2.3 PL11]
Newsgroups: bit.listserv.next-l
Date:         Sat, 12 Sep 1992 09:36:18 MST
From:         Dan Danz <dan@PHOENIX.AZ.STRATUS.COM>
Subject:      Re: verify ntpd
              Sep 11, 92 10:24 am

> [ Sven Bohm wrote ]
>
> However ntpdc (any valid host) just cranks along for a few seconds
> and then returns without printing any information.
>

sounds like you don't have any peers ...

try  niutil -read / /locations/ntp

you should have some entries for host:   if they are clone clients,
and perhaps one entry for a "master".

I tried the -l a while ago and got this:

Sep 12 08:57:40 quiensabe ntpd[13123]: terminated: (sig 15)
Sep 12 08:57:44 quiensabe ntpd[13155]: /usr/etc/ntpd version $Revision: 3.4.1.9
 $
Sep 12 08:57:44 quiensabe ntpd[13155]: patchlevel 13
Sep 12 08:57:45 quiensabe ntpd[13155]: Drift compensation value initialized to
 0.230693
Sep 12 08:57:45 quiensabe ntpd[13155]: sys.precision set to -6 from sys clock of
 0 HZ
Sep 12 08:58:08 quiensabe duioctl[13156]: BRINGDOWN on "slip0"
Sep 12 08:58:13 quiensabe diald-slip0[12685]: hangup: Process 12685 got signal 1
 for "slip0"
Sep 12 08:58:14 quiensabe diald-slip0[12685]: hangup: Outbound interface "slip0"
 up 9062 seconds
Sep 12 08:58:14 quiensabe diald-slip0[12685]: hangup: Inpackets = 6275,
 Outpackets = 7758, Average = 1.55 packets/sec
Sep 12 08:58:14 quiensabe diald-slip0[12685]: Timeout for "slip0" set to 3600
Sep 12 08:58:14 quiensabe diald-slip0[12685]: hangup: Disconnected "slip0"
Sep 12 08:58:14 quiensabe diald-slip0[12685]: (Link DOWN event for slip0 for
 nb1)
Sep 12 08:58:42 quiensabe tcldiald[151]: Authorized packet [134.111.45.7 ->
 134.111.44.7], proto UDP (17)
Sep 12 08:58:42 quiensabe diald-slip0[13157]: makecall: Attempting connection to
 "nb1" via "slip0"
Sep 12 08:58:43 quiensabe diald-slip0[13157]: (DSI 9624LEP, dialing 852-3088,
 expecting 14400 EC)
Sep 12 08:59:02 quiensabe diald-slip0[13157]: (slip0/nb1 Connected)
Sep 12 08:59:04 quiensabe diald-slip0[13157]: (slip0/nb1 Logging in as
 quiensabe...)
Sep 12 08:59:06 quiensabe diald-slip0[13157]: (slip0/nb1 Entering SLIP mode)
Sep 12 08:59:06 quiensabe diald-slip0[13157]: duconnect: Did SIOCSIFADDR on
 "slip0"
Sep 12 08:59:06 quiensabe diald-slip0[13157]: Connected to "nb1" via "slip0"
Sep 12 08:59:06 quiensabe diald-slip0[13157]: (Link UP event (packet) for slip0
 for nb1)
Sep 12 08:59:06 quiensabe diald-slip0[13157]: Timeout for "slip0" set to 1200
Sep 12 08:59:06 quiensabe diald-slip0[13157]: Outbound interface "slip0"
 starting ipkts = 69339, opkts = 61808
Sep 12 08:59:06 quiensabe diald-slip0[13157]: (slip0/nb1 IF flags changed from
 0x0 => 0x11)
Sep 12 08:59:06 quiensabe diald-slip0[13157]: (slip0/nb1 SOFT flags changed from
 0x0 => 0x722)
Sep 12 09:02:58 quiensabe ntpd[13155]: clock: select peer 134.111.44.7 stratum 1
 was UNSYNCED
Sep 12 09:03:11 quiensabe ntpd[13155]: adjust: STEP 134.111.44.7 st 1 off
 12.481600 drft 0.230693 cmpl 0.000000
Sep 12 09:03:11 quiensabe ntpd[13155]: Lost NTP peer 134.111.44.7
Sep 12 09:06:23 quiensabe ntpd[13155]: clock: select peer 134.111.44.49 stratum
 1 was UNSYNCED
Sep 12 09:09:18 quiensabe diald-slip0[13157]: (SLIP interface slip0 up 10
 minutes.)
Sep 12 09:11:43 quiensabe ntpd[13155]: adjust: SLEW 134.111.44.49 st 1 off
 0.000736 drft 0.230693 cmpl 0.000003
Sep 12 09:12:47 quiensabe ntpd[13155]: adjust: SLEW 134.111.44.49 st 1 off
 0.000736 drft 0.230694 cmpl 0.000006
Sep 12 09:13:51 quiensabe ntpd[13155]: adjust: SLEW 134.111.44.49 st 1 off
 0.000736 drft 0.230695 cmpl 0.000009
Sep 12 09:14:55 quiensabe ntpd[13155]: adjust: SLEW 134.111.44.49 st 1 off
 0.000736 drft 0.230695 cmpl 0.000011
Sep 12 09:15:59 quiensabe ntpd[13155]: adjust: SLEW 134.111.44.49 st 1 off
 0.000736 drft 0.230696 cmpl 0.000014
Sep 12 09:17:03 quiensabe ntpd[13155]: adjust: SLEW 134.111.44.49 st 1 off
 0.000736 drft 0.230697 cmpl 0.000017
Sep 12 09:18:07 quiensabe ntpd[13155]: adjust: SLEW 134.111.44.49 st 1 off
 0.007946 drft 0.230708 cmpl 0.000048
Sep 12 09:19:11 quiensabe ntpd[13155]: adjust: SLEW 134.111.44.49 st 1 off
 0.008356 drft 0.230746 cmpl 0.000081
Sep 12 09:19:18 quiensabe diald-slip0[13157]: (SLIP interface slip0 up 20
 minutes.)
Sep 12 09:19:32 quiensabe ntpd[13155]: terminated: (sig 15)


As you can see, I don't normally run ntpd on my home system because it
keeps bringing slip back up.

Here's what the NetInfo information looks like (and it looks the same on
the real network domain that tucson and phoenix are a part of).

quiensabe[147]# niutil -read . /locations/ntp                                 /
name: ntp
server:
host: tucson phoenix

Hope this helps.
The real guru on this stuff is louie@transsys.com (Louie Mamakos)


--
L. W. "Dan" Danz         (WA5SKM) VOS Mail:  Dan_Danz@vos.stratus.com
Sr Consulting Software SE         NeXT Mail: dan@az.stratus.com
Customer Assistance Center        Voice Mail/Pager: (602) 852-3107
Telecommunications Division       Customer Service: (800) 828-8513
Stratus Computer, Inc. 4455 E. Camelback #115-A, Phoenix AZ 85018
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU