Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 23:23:28 +0900
From:      Rob <spamrefuse@yahoo.com>
To:        Ian Moore <imoore@picknowl.com.au>, FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: ntpd problems since upgrading to 5.3
Message-ID:  <41E3E160.7030107@yahoo.com>
In-Reply-To: <200501112100.10680.imoore@picknowl.com.au>
References:  <200501112100.10680.imoore@picknowl.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Moore wrote:
> Hi,
> Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've been getting the 
> following error on boot:
> ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1
> ::204:61ff:fe46:be89, in6_is_addr_multicast=0 flags=0 fails: Can't assign 
> requested address
> 
> ntpd seems to be working from what I can see in it's log file, but I can't do 
> anything with ntpq to check it. 
> Wether I run it as my normal user or as root, running ntpq -p always gives:
> ntpq: write to localhost.foo.com failed: Permission denied
> 

I had once a problem with ntpd, when also running named. Some hostname
resolution failed, because the servers were started in the wrong order.
Are you also running named?

> Here is my ntpd entries in rc.conf:
> ntpd_enable="YES"               # Run ntpd Network Time Protocol (or NO).
> ntpd_program="/usr/sbin/ntpd"   # path to ntpd, if you want a different one.
> ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid"

I use:
  ntpd_enable="YES"
  ntpd_flags="-g"

> and the contents of ntp.conf:
> server          210.48.130.204
> server          augean.eleceng.adelaide.edu.au
> driftfile       /var/db/ntpd.drift
> logfile         /var/log/ntpd

And here I use:
  driftfile /var/db/ntpd.drift
  pidfile /var/run/ntpd.pid
  server nr1.time.server
  server nr2.time.server
  server nr3.time.server


Does that help you?

Rob.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E3E160.7030107>