From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 12:28:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F20B716A4CE for ; Wed, 25 Feb 2004 12:28:58 -0800 (PST) Received: from mail.navitaire.com (unknown [192.216.212.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95FB343D1D for ; Wed, 25 Feb 2004 12:28:58 -0800 (PST) (envelope-from B.Henning@navitaire.com) Received: from navmmtl112.corp.nt.navitaire.com (navmmtl112.navitaire.com [149.122.40.8]) by mail.navitaire.com (8.12.9/8.12.9) with ESMTP id i1PKSujN029918; Wed, 25 Feb 2004 14:28:58 -0600 (CST) Received: from NAVMMEX112.corp.nt.navitaire.com ([149.122.40.50]) by navmmtl112.corp.nt.navitaire.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 25 Feb 2004 14:28:56 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 25 Feb 2004 14:25:04 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ntpd Thread-Index: AcP7ztGFVTIIH5dgSA+KAvAfxXu+3QACv5Eg From: "Henning, Brian" To: "Chris" , X-OriginalArrivalTime: 25 Feb 2004 20:28:56.0668 (UTC) FILETIME=[FE24E1C0:01C3FBDD] Subject: RE: ntpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 20:28:59 -0000 Chris, I am trying to use the same setup as you have to get ntpd working. touch /var/db/ntpd.drift In my rc.conf file I have to use the following xntpd_enable=3D"YES" xntpd_program=3D"/usr/sbin/ntpd" xntpd_flags=3D"-c /etc/ntp.conf" xntpd_flags=3D"-p /var/run/ntpd.pid -f /var/db/ntpd.drift" These didn't work for some reason. ntpd_enable=3D"YES" ntpd_program=3D"/usr/sbin/ntpd" ntpd_flags=3D"-c /etc/ntp.conf" ntpd_flags=3D"-p /var/run/ntpd.pid -f /var/db/ntpd.drift" I am able to get the server started but, I still get the two error messages in my log file. kernel time discipline status 2040 Un-parsable frequency in /var/db/ntpd.drift Is this because I have to let the server sit for a couple of hours to sync with. server time.nist.gov server timekeeper.isi.edu When I type: ntpdate -u time.nist.gov #my system clock is updated When I type: ntpdate time.nist.gov 25 Feb 14:22:32 ntpdate[254]: the NTP socket is in use, exiting Any thoughts, brian -----Original Message----- From: Chris [mailto:racerx@makeworld.com]=20 Sent: Wednesday, February 25, 2004 12:40 PM To: freebsd-questions@freebsd.org Subject: Re: ntpd On Wednesday 25 February 2004 12:33 pm, Brian H wrote: > Greetings: > I am trying to setup my bsd box as a ntp server. > I basically want all machines on my local network to > sync times with this bsd time server. I start the server > with the command `ntpd -A -l /var/log/ntpd.log`. I verify that the=20 > server is running with ps and `netstat -na | grep udp`, but when I=20 > look in the logs i see the following > > /var/log/ntpd.log > ---- > ntpd 4.1.0-a Mon Oct 27 14:55:18 GMT 2003 (1) > kernel time discipline status 2040 > Un-parsable frequency in /etc/ntp.drift > > > Any thoughts on what I can do to get this server working. when i try=20 > to sync from another machine on the network I get the following error: > no servers can be used, exiting. > > Thanks, > > Brian My /etc/rc.conf looks like this - Compare it to yours. ntpd_enable=3D"YES" =20 ntpd_program=3D"/usr/sbin/ntpd" ntpd_flags=3D"-c /etc/ntp.conf" ntpd_flags=3D"-p /var/run/ntpd.pid -f /var/db/ntpd.drift" Perhaps touch ntpd.drift in /var/db/ ? --=20 Best regards, Chris _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"