Date: Fri, 14 Jul 2006 10:11:42 -0400 From: "Bob Johnson" <fbsdlists@gmail.com> To: "Owen G" <owen_pg@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: ntpd configuration . . . and errors Message-ID: <54db43990607140711n679c4f95je52c769e8bafcfb6@mail.gmail.com> In-Reply-To: <20060714133043.55454.qmail@web60623.mail.yahoo.com> References: <20060714133043.55454.qmail@web60623.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/14/06, Owen G <owen_pg@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54db43990607140711n679c4f95je52c769e8bafcfb6>