From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 10:40:00 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 232B116A4CE for ; Wed, 25 Feb 2004 10:40:00 -0800 (PST) Received: from makeworld.com (chcgil2-ar9-4-60-214-019.chcgil2.dsl-verizon.net [4.60.214.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A757F43D39 for ; Wed, 25 Feb 2004 10:39:59 -0800 (PST) (envelope-from racerx@makeworld.com) Received: from evrtwa1-ar12-4-46-162-188.evrtwa1.dsl-verizon.net (racerx@evrtwa1-ar12-4-46-162-188.evrtwa1.dsl-verizon.net [4.46.162.188]) by makeworld.com (8.12.11/8.12.10) with ESMTP id i1PIdviK007910 for ; Wed, 25 Feb 2004 12:39:58 -0600 (CST) (envelope-from racerx@makeworld.com) From: Chris To: freebsd-questions@freebsd.org Date: Wed, 25 Feb 2004 12:39:56 -0600 User-Agent: KMail/1.6 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402251239.56975.racerx@makeworld.com> 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 18:40:00 -0000 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 server is running with ps and `netstat -na | grep udp`, > but when I 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 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="YES" ntpd_program="/usr/sbin/ntpd" ntpd_flags="-c /etc/ntp.conf" ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift" Perhaps touch ntpd.drift in /var/db/ ? -- Best regards, Chris