freebsd-questions-local at be-well.ilk.org
Sun Oct 23 07:50:52 PDT 2005
Shelby Westman <shelby.westman at gmail.com> 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: ntpd 4.2.0-a Sun Oct 9 18:33:33 UTC 2005
> Oct 22 10:40:57 alter ntpd: 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.
> 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 <http://ntp-2.ece.cmu.edu>
> #server -4 ticker.cis.sac.accd.edu <http://ticker.cis.sac.accd.edu>
> #server -4 lain.ziaspace.com <http://lain.ziaspace.com>
> #server -4 ntp1.linuxmedialabs.com <http://ntp1.linuxmedialabs.com>
> server 220.127.116.11 <http://18.104.22.168>
> 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.
More information about the freebsd-questions