Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!stanford.edu!eos!aio!sweetpea!zook From: zook@sweetpea.jsc.nasa.gov (Craig A. Zook 283-4206) Newsgroups: comp.protocols.time.ntp Subject: Re: xntpdc fails on Sun Keywords: ntp services Message-ID: <1991Apr25.125943@sweetpea.jsc.nasa.gov> Date: 25 Apr 91 17:59:43 GMT References: <1260@faatcrl.UUCP> Sender: news@aio.jsc.nasa.gov (USENET News System) Reply-To: zook@sweetpea.jsc.nasa.gov (Craig A. Zook 283-4206) Organization: nasa-jsc Lines: 43 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"); |> |> |> What am I missing? |> |> |> -- |> + Dan Warburton Nas Simulation Support Facility (NSSF) |> + Federal Aviation Administration Technical Center |> + Atlantic City International Airport, NJ 08405 // |> + 609-484-4480 Mail Stop: ACN-313 Amiga \X/ Sun |> + warb@faatcrl.uucp ...rutgers!faatcrl!warb -- An Open Systems Group -- Two things. First rather than modifing the ntp entry in /etc/services you should add an additional entry identical to the first except for udp instead of tcp. Second if you are running YP you will need to modify the yp data for services and do a cd /var/yp;make services. I assume you know about running tickadj -Asq before starting xntpd on a sun. -- Craig Zook - zook@sweetpea.jsc.nasa.gov Systems Engineeering and Administration McDonnell Douglas Space Systems Corp. - Engineering Services Division (713) 283-4206