From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 11:01:16 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 A0D1516A4CE for ; Wed, 25 Feb 2004 11:01:16 -0800 (PST) Received: from mail.evilcoder.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C2BD43D2D for ; Wed, 25 Feb 2004 11:01:16 -0800 (PST) (envelope-from remko@elvandar.org) From: "Remko Lodder" To: "Henning, Brian" Date: Wed, 25 Feb 2004 20:00:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) In-Reply-To: <20040225184602.9A1301A@mail.elvandar.org> Importance: Normal X-Virus-Scanned: for evilcoder.org Message-Id: <20040225190115.0E1732B4D6F@mail.evilcoder.org> cc: freebsd-questions@freebsd.org 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 19:01:16 -0000 It needs to synchronise with the server so that it's time is accurate, that can take a while, it needs to trace times etc. giving it 2 hours, is certainly enough :) the drift states it drift from the time so it knows how many seconds it will 'drift' in x time {like 0.1 sec every hour means a little correction... } Cheers -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl Dutch community for helping newcomers on the hackerscene mrtg.grunn.org Dutch mirror of MRTG -----Oorspronkelijk bericht----- Van: Henning, Brian [mailto:B.Henning@Navitaire.com] Verzonden: woensdag 25 februari 2004 19:46 Aan: Remko Lodder CC: freebsd-questions@freebsd.org Onderwerp: RE: ntpd -rw-r--r-- 1 root wheel 0 Feb 25 09:01 /etc/ntp.drift The /etc/ntp.drift file is empty What is the drift file for exactly? Why does it take up to two hours to sync? I am trying to do everything local? Thanks for your help. brian -----Original Message----- From: Remko Lodder [mailto:remko@elvandar.org] Sent: Wednesday, February 25, 2004 12:41 PM To: Brian H; freebsd-questions@freebsd.org Subject: RE: ntpd Hi, what's in the ntpd.drift file? What are the permissions on the file (to be sure) With my NTP server it takes a while for it to be synchronised. Perhaps wait an hour or 2 and try again to sync, Cheers. -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl Dutch community for helping newcomers on the hackerscene mrtg.grunn.org Dutch mirror of MRTG -----Oorspronkelijk bericht----- Van: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]Namens Brian H Verzonden: woensdag 25 februari 2004 19:33 Aan: freebsd-questions@FreeBSD.ORG Onderwerp: ntpd 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 setup ----- #i am not sure if i need to add anything to this ntp.drift file or not touch /etc/ntp.drift touch /etc/ntp.conf /etc/ntp.conf ------------- driftfile /etc/ntp.drift #bsd time server server 192.168.0.3 _________________________________________________________________ Take off on a romantic weekend or a family adventure to these great U.S. locations. http://special.msn.com/local/hotdestinations.armx _______________________________________________ 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" _______________________________________________ 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"