Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!draco.acs.uci.edu!iglesias From: iglesias@draco.acs.uci.edu (Mike Iglesias) Newsgroups: comp.protocols.time.ntp Subject: Re: xntpdc fails on Sun Keywords: ntp services Message-ID: <28166EB1.10666@orion.oac.uci.edu> Date: 25 Apr 91 05:52:49 GMT References: <1260@faatcrl.UUCP> Organization: University of California, Irvine Lines: 19 Nntp-Posting-Host: draco.acs.uci.edu In article <1260@faatcrl.UUCP> warb@faatcrl.UUCP (Dan Warburton) writes: >I am bringing up xntpd on an isolated network containing a Sun >SparcStation 1+ running SunOS 4.1.1. xntpd is up and running with a local >clock. When I try to use xntpdc it fails with xntpdc: ntp/udp: unknown service. > >Now I have modified the /etc/services file as follows: >ntp 123/udp # Network Time Protocol >Beliving that ntp sould be a udp protocall. I see xntpdc doing: > > server_entry = getservbyname("ntp", "udp"); If your system is using NIS (YP), you need to change the services file on the NIS master and remake the NIS maps (the local /etc/services is not consulted after booting the system). To find which system is the NIS master, type 'ypcat ypservers'. One of those systems is the master. Mike