ntpdate

jdow jdow at earthlink.net
Thu Mar 30 21:22:24 UTC 2006


From: "gareth" <bsd at lordcow.org>
> On Thu 2006-03-30 (10:35), Michael Proto wrote:
>> cd /usr/src/usr.sbin/ntp
>> make depend
>> make
>> make install
> 
> yay, ok that works ta (going into /usr/src/usr.sbin/ntp
> as opposed to /usr/src/usr.sbin/ntp/ntpdate) and the
> binary gets rebuilt. but, same problem :/
> 
> # ntpdate nom.uct.ac.za
> Looking for host nom.uct.ac.za and service ntp
> host found : 2001:4200:300:100:20e:cff:fe5c:f5c4
> 30 Mar 17:58:16 ntpdate[35787]: cannot find family compatible socket to send ntp packet
> #

If you have ntpd running, which is the right way to do it anyway, then
ntpdate cannot run unless you tell it to use a different port than the
ntp port because it's already in use. "ntpdate -q -u pool.ntp.org" should
work for you.

{^_^}    Joanne


More information about the freebsd-stable mailing list