From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 04:01:35 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 4643916A420 for ; Sun, 23 Oct 2005 04:01:35 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFE9943D48 for ; Sun, 23 Oct 2005 04:01:34 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.215] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (sccrmhc13) with ESMTP id <20051023040121013003df7je>; Sun, 23 Oct 2005 04:01:26 +0000 Message-ID: <435B0B11.3070002@computer.org> Date: Sat, 22 Oct 2005 23:01:21 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Schuele References: <4efe47610510220854n2bff8c1el585d03a3a7d08c89@mail.gmail.com> <435AFC41.7020101@computer.org> In-Reply-To: <435AFC41.7020101@computer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Shelby Westman , freebsd-questions@freebsd.org Subject: Re: ntpd problems 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: Sun, 23 Oct 2005 04:01:35 -0000 Eric Schuele wrote: > Shelby Westman wrote: > >> Hello, all, >> >> 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 > > > Are you intending on running an NTP daemon? Or are you just trying to > sync your clock with an NTP source? If the later, try adding the > following to your rc.conf: > > ntpdate_enable="YES" > ntpdate_flags="" FWIW... after checking the man pages, I think ntpdate is being deprecated some time in the near future. ntpd should be used. So here is what I now have in my rc.conf: ntpd_enable="YES" ntpd_flags="-q" /etc/ntp.conf contains exactly one line: server north-america.pool.ntp.org Works fine. Also... another thought. You might try disabling IPv6 unless you need it. (remove 'options INET6' from kernconf) > > HTH. > >> 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 >> _______________________________________________ >> 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" >> > > -- Regards, Eric