From owner-freebsd-questions Wed Nov 10 15:43:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nimitz.ca.sandia.gov (nimitz.ca.sandia.gov [146.246.243.56]) by hub.freebsd.org (Postfix) with ESMTP id 3B7B414E1E for ; Wed, 10 Nov 1999 15:43:12 -0800 (PST) (envelope-from bmah@nimitz.ca.sandia.gov) Received: (from bmah@localhost) by nimitz.ca.sandia.gov (8.9.3/8.9.3) id PAA89935; Wed, 10 Nov 1999 15:41:51 -0800 (PST) Message-Id: <199911102341.PAA89935@nimitz.ca.sandia.gov> X-Mailer: exmh version 2.1.0 09/18/1999 To: Jonathon McKitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mysterious xntpd In-Reply-To: Your message of "Wed, 10 Nov 1999 23:26:39 GMT." From: bmah@CA.Sandia.GOV (Bruce A. Mah) Reply-To: bmah@CA.Sandia.GOV X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Url: http://www.ca.sandia.gov/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_587078288P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 10 Nov 1999 15:41:51 -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_587078288P Content-Type: text/plain; charset=us-ascii If memory serves me right, Jonathon McKitrick wrote: > I'm trying to sync my clock with the timeservers out there, so i'm using > ntpdate. But i tried xntpd first, and now it seems like it is running > every few minutes. I noticed this when my ppp connection is down, it > complains that it can't find any route to host. I don't see a cron entry, > but i can't seem to find the process that starts it. Where else should i > look? /var/run shows it's pid, that's all i know. xntpd is supposed to do that--it goes to sleep and wakes itself up every so often, by itself. It doesn't need a cron entry. If you run ps and grep for the PID, it should show up in the process table. One caveat is that you can't run ntpdate if xntpd is running, since they want to bind to the same priviledged UDP port. Usually what you'd do is to do a one-time adjustment with ntpdate first, then start up xntpd. (This is what rc does, with the appropriate entries in rc.conf.) The reason for this is because xntpd won't run if the difference between the reference clocks and the system clock is too big (I forget how big, but it's measured in minutes). ntpdate makes sure you're at least in the right ballpark. Bruce. --==_Exmh_587078288P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: xVuxsH3iFsdILlZW8kYuYJPhqhs6A9j3 iQA/AwUBOCoCv9jKMXFboFLDEQLdGwCeLB1iqaNcPT5BXACZDsF+DbxTrtYAnjqR UKvXVM45ek/ULREmiBNgwNz7 =eg6q -----END PGP SIGNATURE----- --==_Exmh_587078288P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message