From owner-freebsd-questions@FreeBSD.ORG Fri Jul 14 13:30:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 98B2F16A5A1 for ; Fri, 14 Jul 2006 13:30:45 +0000 (UTC) (envelope-from owen_pg@yahoo.com) Received: from web60623.mail.yahoo.com (web60623.mail.yahoo.com [209.73.178.191]) by mx1.FreeBSD.org (Postfix) with SMTP id 53DC943D53 for ; Fri, 14 Jul 2006 13:30:43 +0000 (GMT) (envelope-from owen_pg@yahoo.com) Received: (qmail 55456 invoked by uid 60001); 14 Jul 2006 13:30:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=5kfbrFHQ6/cTQCODpGrx4weblCk0UOcy+N4sqYyctkKBmb6D7ogwttvk4OBDVK8YAd95RK1LSJtcmsFuu4CUcx+RW3PcwgjZab0TIZlcRWAb7VhC2+gHLJ04j0OmuSKatT1PwqvLfoIwqah6c3xmo96LB7zGM4hBYn7U6Pm5Ogc= ; Message-ID: <20060714133043.55454.qmail@web60623.mail.yahoo.com> Received: from [84.154.18.225] by web60623.mail.yahoo.com via HTTP; Fri, 14 Jul 2006 14:30:43 BST Date: Fri, 14 Jul 2006 14:30:43 +0100 (BST) From: Owen G To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: ntpd configuration . . . and errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 13:30:45 -0000 Hi all, Following the suggestions regarding setting timekeeping up as a daemon I did the following and got these console messages . . . . . . Jul 14 13:04:29 epia ntpd[648]: no IPv6 interfaces found Jul 14 13:04:29 epia ntpd[648]: gethostby*.getanswer: asked for "europe.pool.ntp.org IN AAAA", got type "A" Jul 14 13:04:29 epia ntpd[648]: Frequency format error in /var/db/ntpd.drift Jul 14 13:05:44 epia ntpd[656]: no IPv6 interfaces found Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr 0.0.0.0, i n_classd=0 flags=8 fails: Address already in use Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr 192.168.2. 14, in_classd=0 flags=8 fails: Address already in use Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr 127.0.0.1, in_classd=0 flags=0 fails: Address already in use Jul 14 13:05:45 epia ntpd[656]: gethostby*.getanswer: asked for "europe.pool.ntp .org IN AAAA", got type "A" Jul 14 13:05:45 epia ntpd[656]: Frequency format error in /var/db/ntpd.drift Jul 14 13:05:45 epia ntpd[656]: sendto(81.169.152.214): Bad file descriptor Jul 14 13:06:49 epia ntpd[656]: sendto(81.169.152.214): Bad file descriptor Jul 14 13:07:52 epia ntpd[656]: sendto(81.169.152.214): Bad file descriptor Jul 14 13:18:36 epia last message repeated 10 times Jul 14 13:28:20 epia last message repeated 5 times Jul 14 13:36:52 epia ntpd[656]: sendto(81.169.152.214): Bad file descriptor . . . The "Frequency format error in /var/db/ntpd.drift" messages have now gone away (which is a good thing) and the file has now been written to rather than being 0 bytes . . . epia# ls -al /var/db/ntpd.drift -rw-r--r-- 1 root wheel 6 Jul 14 14:05 /var/db/ntpd.drift epia# cat /var/db/ntpd.drift 0.000 . . . but I have no ideas why I'm getting the other errors. I can't see anything in the "ntp / ntpd" documentation or the "man" pages that offers any enlightenment. The (in)appropriate configurations are here: epia# ls -al /etc/rc.conf -rw-r--r-- 1 root wheel 658 Jul 14 11:29 /etc/rc.conf /etc/rc.conf . . . ntpd_enable="YES" ntpd_flags="-q -p /var/run/ntpd.pid" ntpd_sync_on_start="YES" epia# ls -al /etc/ntp.conf -rw-r--r-- 1 root wheel 125 Jul 14 12:31 /etc/ntp.conf epia# cat /etc/ntp.conf # # put your default configuration (e.g. broadcastclient) in here # server europe.pool.ntp.org driftfile /var/db/ntpd.drift FYI . . . europe.pool.ntp.org = 84.54.128.8 :-) localhost = 192.168.2.14 :-) h2348.serverkompetenz.net = 81.169.152.214 I have no idea why this gets a mention - I am in Germany though! Any help greatly appreciated. Thanks in anticipation. Owen ___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html