In response to "Dave" <[EMAIL PROTECTED]>:

> 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?

You have some other program already running on port 123.  Perhaps another
instance of nptd?  Try "sockstat -4 | grep 123" and see what comes up.

This is not specifically a jail problem, but it could be that you
accidentally configured one of your jails to start ntpd as well.  This
is unnecessary.  Each jail will get it's time from the host, so it's
only necessary to sync the host.

> 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
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


-- 
Bill Moran
http://www.potentialtech.com
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to