From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 14:50:52 2005 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 5DB7616A41F for ; Sun, 23 Oct 2005 14:50:52 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA7FC43D46 for ; Sun, 23 Oct 2005 14:50:51 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 29279 invoked from network); 23 Oct 2005 14:50:50 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 Oct 2005 14:50:50 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id AD87F2D; Sun, 23 Oct 2005 10:50:49 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Shelby Westman References: <4efe47610510220854n2bff8c1el585d03a3a7d08c89@mail.gmail.com> From: Lowell Gilbert Date: 23 Oct 2005 10:50:49 -0400 In-Reply-To: <4efe47610510220854n2bff8c1el585d03a3a7d08c89@mail.gmail.com> Message-ID: <44ek6cgud2.fsf@be-well.ilk.org> Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: ntpd problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2005 14:50:52 -0000 Shelby Westman writes: > I am a relatively new freeBSD user. The problem I describe below happens on > both a 5.4 install and a 6.0 RC1 install. > > Right after installing the OS, I enable ntpd in rc.conf, and setup a simple > config file in /etc/ntp.conf. When I reboot, I get this message: > > Oct 22 10:40:57 alter ntpd[392]: ntpd 4.2.0-a Sun Oct 9 18:33:33 UTC 2005 > (1) > Oct 22 10:40:57 alter ntpd[392]: bind() fd 6, family 28, port 123, addr > fe80:1::202:55ff:fe58:2957, in6_is_addr_multicast=0 flags=0 fails: Can't > assign requested address > > Then ntpd does not synchronize the time. I set the clock manually (using > date) five minutes ahead to check and in fact it does not get adjusted. > > I have tried all sorts of things. I tried assigning numeric addresses rather > than host names in the config file. I tried enabling ipv6 in sysinstall. > This machine does have a good route to the internet - I can use nslookup to > resolve host names, so I know the networking is working. > > Below I have quoted the ntp.conf. The log file is empty - nothing is being > written there. > > Does anyone have any ideas? I am stumped... thanks for your help. > > Shelby > > __________________ > > config file as it stands now... > > logfile /var/log/ntpd.log > > # deny-by-default policy > restrict default ignore > > #server -4 ntp-2.ece.cmu.edu > #server -4 ticker.cis.sac.accd.edu > #server -4 lain.ziaspace.com > #server -4 ntp1.linuxmedialabs.com > server 17.254.0.31 > > driftfile /var/spool/ntp.drift You're probably running into problems with your restrict clause, but I'm not sure what offhand. Use the "-d" flag to ntpd (or more than one) to get more information on what it thinks the problem is.