pdcst@unix.cis.pitt.edu (Patrick Champion) (01/01/91)
I thought I would repost my question. I have just compiled xntp and created a simple ntp.conf file in /etc. However when I run it, it just seems to quit. It doesn't seem to hang around like I thought daemons should. Doing a ps -ax shows no xntpd. Any ideas what I am doing wrong? The compile worked fine (after I remaked with the NODNS and NO_SIGNED_CHAR and LITTLE on the re untarred files), yet apparently nothing is happening. I am running on a SUN 386i with SunOs 4.0.2. My ntp binaries are in /usr/local/etc. Am I supposed to put xntpd in my /etc/inetd.conf file? I found a reference to it in the /etc/services file that gives its name and 23/tcp but that's it. From what I read in the docs it seems that it should run directly from the command line. I would really appreciate some help. -- Patrick D. Champion *Epidemiology Data Center* OS/2, you better watch pchamp@edc3jr.gsph.pitt.edu*University of Pittsburgh* out unix is cooler pdcst@unix.cis.pitt.edu ************************************* edc3::champion (Decnet) *My views may not be Pitt's or EDC's* -- Patrick D. Champion *Epidemiology Data Center* OS/2, you better watch pchamp@edc3jr.gsph.pitt.edu*University of Pittsburgh* out unix is cooler pdcst@unix.cis.pitt.edu ************************************* edc3::champion (Decnet) *My views may not be Pitt's or EDC's*
louie@SAYSHELL.UMD.EDU (""Louis A. Mamakos"") (01/01/91)
xntpd, like ntpd, should be run directly (usually started in /etc/rc.local). It should be present from that point on. You might try to compile it with DEBUG defined, and invoke it with the debug (-d) switch and watch the trace output to see where it gives up. You might also look at your syslog log file to see if it left any helpful information there. Make sure that /etc/services has ntp udp/123 defined, and NOT tcp/123. That might be part of your problem, as NTP is based on UDP for a transport protocol, and not TCP. By the way, happy new year and hope you all enjoyed the just inserted leap second. louie