From owner-freebsd-questions@FreeBSD.ORG Fri Jul 14 14:11:52 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 4598816A4E1 for ; Fri, 14 Jul 2006 14:11:52 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5436643D6E for ; Fri, 14 Jul 2006 14:11:43 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: by nf-out-0910.google.com with SMTP id y25so193196nfb for ; Fri, 14 Jul 2006 07:11:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rlnoUmZJrF3OgyF5OMh7qv+DUR0lk581VGOtDNcM2ystGwXjstxQSdgEmUADg/Uu/wWDep2lBfXMFfr5HVqdkHxqVs78edJRjres4gC0GgBTEvfIQvJsfmGsTGlYHiDm2KfzoWd/7oZga9hUo/r7pGDjfw1vo1YzE+6fRI+z3kI= Received: by 10.48.48.15 with SMTP id v15mr2012367nfv; Fri, 14 Jul 2006 07:11:42 -0700 (PDT) Received: by 10.48.210.5 with HTTP; Fri, 14 Jul 2006 07:11:42 -0700 (PDT) Message-ID: <54db43990607140711n679c4f95je52c769e8bafcfb6@mail.gmail.com> Date: Fri, 14 Jul 2006 10:11:42 -0400 From: "Bob Johnson" To: "Owen G" In-Reply-To: <20060714133043.55454.qmail@web60623.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060714133043.55454.qmail@web60623.mail.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: 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 14:11:52 -0000 On 7/14/06, Owen G wrote: > 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" This isn't a problem. It asked for an IP6 address if available and it wasn't, so it got an IP4 address instead. > 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 Notice the process ID changed from 648 to 656 here. It looks like a second copy of ntpd is trying to start. > 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 The second copy can't grab port 123 because the first copy is already using it. The output of ntpq -p should be informative. It will tell you if ntpd is actually working. By the way, you can use multiple servers for greater reliability, e.g. in ntp.conf: server 0.europe.pool.ntp.org server 1.europe.pool.ntp.org server 2.europe.pool.ntp.org will give you three different randomly selected servers, in case one goes down. - Bob