From owner-freebsd-stable Thu Mar 5 12:58:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18889 for freebsd-stable-outgoing; Thu, 5 Mar 1998 12:58:03 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from mail.jmrodgers.com ([205.247.224.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA18730 for ; Thu, 5 Mar 1998 12:57:45 -0800 (PST) (envelope-from meuston@jmrodgers.com) Received: from max.jmrodgers.com (max.jmrodgers.com [205.247.224.209]) by mail.jmrodgers.com (8.8.8/8.8.8) with SMTP id PAA02425; Thu, 5 Mar 1998 15:56:34 -0500 (EST) (envelope-from meuston@jmrodgers.com) Received: by localhost with Microsoft MAPI; Thu, 5 Mar 1998 15:55:30 -0500 Message-ID: <01BD484F.1F519B20.meuston@jmrodgers.com> From: Max Euston To: "'obrien@NUXI.com'" , "stable@FreeBSD.ORG" Subject: RE: is xntpd working in -STABLE? Date: Thu, 5 Mar 1998 15:55:27 -0500 Organization: J.M. Rodgers Co., Inc. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk [ David: Sorry for the blank reply, my mouse got hyper for a moment :-) ] David, Funny, I just started working on this yesterday. I don't have a complete answer for you, but here are some data points: 1) Yes, xntpd DOES run on -stable (cvsup'ed and "make buildworld installworld" within about the last week). 2) I had the same symptom - the '-d' did no good either. 3) With all the variables I was trying, I'm not sure exactly how I got it working. 4) I had to make sure to open my firewall (I was also setting up ipfw for the first time) for udp port 123 (I know this is obvious, but it may or may not be the cause for the lack of output even w/ '-d'). 5) I used 'ntpdate -d' to get some more information when it was failing (and am running it now at bootup). 6) My drift file is empty, but I manually created /etc/ntp.{conf|drift|keys}. (I am still working on this). 7) From /etc/rc.conf: ntpdate_enable="YES" # Run the ntpdate to sync time (or NO). ntpdate_flags="-bs ntp.ctr.columbia.edu" # Flags to ntpdate (if enabled). xntpd_enable="YES" # Run xntpd Network Time Protocol (or NO). xntpd_flags="" # Flags to xntpd (if enabled). 8) From /etc/ntp.conf (minimal): server ntp.ctr.columbia.edu peer ns1 I didn't get to read my mail early today, so you may have already got this working. If not, let me know if I can give any further information. Max ----- Max Euston Sysadm, Programmer, etc... On Wednesday, March 04, 1998 5:26 PM, David O'Brien [SMTP:obrien@NUXI.com] wrote: > I've got no problems with xntpd on a 2.2.5-R box with -CURRENT kernel > from last week. > > BUT, on my two machines I've done a `make world' on it doesn't. > I can't get it to create a `/var/run/ntp.drift' file. I've taken the > /etc/ntp.conf file from the 2.2.5-R box and put it on the other two. No > help. Tried ``xntpd -d'' to get some debuging output. It just exits. > No explaintion, no output to the screen at all. /var/log/messages says: > > Mar 4 14:24:50 kongur xntpd[2261]: xntpd version=3.4e (beta multicast); > Sat Oct 4 12:04:05 GMT 1997 (1) > Mar 4 14:24:50 kongur xntpd[2261]: tickadj = 5, tick = 10000, > tvu_maxslew = 495 > > but xntpd wont deamonize. > > -- > -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message