Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 14:30:43 +0100 (BST)
From:      Owen G <owen_pg@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   ntpd configuration . . . and errors
Message-ID:  <20060714133043.55454.qmail@web60623.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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"
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
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
Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr
192.168.2.
14, in_classd=0 flags=8 fails: Address already in use
Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr
127.0.0.1,
 in_classd=0 flags=0 fails: Address already in use
Jul 14 13:05:45 epia ntpd[656]: gethostby*.getanswer: asked for
"europe.pool.ntp
.org IN AAAA", got type "A"
Jul 14 13:05:45 epia ntpd[656]: Frequency format error in
/var/db/ntpd.drift
Jul 14 13:05:45 epia ntpd[656]: sendto(81.169.152.214): Bad file
descriptor
Jul 14 13:06:49 epia ntpd[656]: sendto(81.169.152.214): Bad file
descriptor
Jul 14 13:07:52 epia ntpd[656]: sendto(81.169.152.214): Bad file
descriptor
Jul 14 13:18:36 epia last message repeated 10 times
Jul 14 13:28:20 epia last message repeated 5 times
Jul 14 13:36:52 epia ntpd[656]: sendto(81.169.152.214): Bad file
descriptor
. . .

The "Frequency format error in /var/db/ntpd.drift" messages have now
gone away (which is a good thing) and the file has now been written to
rather than being 0 bytes . . .

epia# ls -al /var/db/ntpd.drift
-rw-r--r--  1 root  wheel  6 Jul 14 14:05 /var/db/ntpd.drift
epia# cat /var/db/ntpd.drift
0.000

. . . but I have no ideas why I'm getting the other errors.  I can't
see anything in the "ntp / ntpd" documentation or the "man" pages that
offers any enlightenment.  The (in)appropriate configurations are here:

epia# ls -al /etc/rc.conf
-rw-r--r--  1 root  wheel  658 Jul 14 11:29 /etc/rc.conf

/etc/rc.conf . . .
<snip>
ntpd_enable="YES"
ntpd_flags="-q -p /var/run/ntpd.pid"
ntpd_sync_on_start="YES"
<snip>

epia# ls -al /etc/ntp.conf
-rw-r--r--  1 root  wheel  125 Jul 14 12:31 /etc/ntp.conf
epia# cat /etc/ntp.conf
#
# put your default configuration (e.g. broadcastclient) in here
#
server europe.pool.ntp.org
driftfile /var/db/ntpd.drift


FYI . . .
europe.pool.ntp.org = 84.54.128.8  :-)
localhost = 192.168.2.14  :-)
h2348.serverkompetenz.net = 81.169.152.214  I have no idea why this
gets a mention - I am in Germany though!

Any help greatly appreciated.

Thanks in anticipation.

Owen



		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html



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