Date: Wed, 25 Feb 2004 20:00:56 +0100 From: "Remko Lodder" <remko@elvandar.org> To: "Henning, Brian" <B.Henning@Navitaire.com> Cc: freebsd-questions@freebsd.org Subject: RE: ntpd Message-ID: <20040225190115.0E1732B4D6F@mail.evilcoder.org> In-Reply-To: <20040225184602.9A1301A@mail.elvandar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
It needs to synchronise with the server <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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040225190115.0E1732B4D6F>