setting up ntp on 6.2 with jailed hosts

Dave dmehler26 at woh.rr.com
Tue Apr 17 14:34:41 UTC 2007


Hello,
    I've got a 6.2 box that i'm running several jails on. I'm trying to get 
ntpd going so the box can sync it's time with the local lan ntp server. In 
the host system's rc.conf i have:

ntpd_enable="YES"
ntpd_sync_on_start="YES"

That second line from my understanding takes away the need to run ntpdate? 
Ntpd does start, but i'm getting the below errors i'm wondering if this is a 
firewall issue or a reaction to running ntp on a host system with jails or 
another problem?
Thanks.
Dave.

Apr 17 09:55:02 zeus ntpd[65236]: ntpd 4.2.0-a Sun Apr  1 21:07:28 EDT 2007 
(1)
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
0.0.0.0, in_classd=0 flags=8 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr ::, 
in6_is_addr_multicast=0 flags=0 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
192.168.0.3, in_classd=0 flags=8 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
192.168.0.200, in_classd=0 flags=8 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr 
fe80:2::1, in6_is_addr_multicast=0 flags=0 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 28, port 123, addr 
::1, in6_is_addr_multicast=0 flags=0 fails: Address already in use
Apr 17 09:55:02 zeus ntpd[65236]: bind() fd 4, family 2, port 123, addr 
127.0.0.1, in_classd=0 flags=0 fails: Address already in use
Apr 17 09:55:03 zeus ntpd[65236]: sendto(192.168.0.254): Bad file descriptor
Apr 17 09:56:07 zeus ntpd[65236]: sendto(192.168.0.254): Bad file descriptor



More information about the freebsd-questions mailing list