OpenNTPd howto?

B. Cook bcook at poughkeepsieschools.org
Tue Jul 1 16:55:26 UTC 2008


Hello All,

Not sure what I am missing, but I am.

so I put openntpd on a machine (10.20.0.16)

cat ntpd.conf | egrep -v ^#

listen on 0.0.0.0
server clock.nyc.he.net

then start it and it looks like it does:

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN  
ADDRESS
_ntp     ntpd       15751 4  udp4   10.20.0.16:55180       
209.51.161.238:123
_ntp     ntpd       15751 6  udp4   *:123                 *:*


Strange thing one:

root at core [/usr/local/etc]# 30 > ntpdate -b clock.nyc.he.net
  1 Jul 12:43:52 ntpdate[48881]: the NTP socket is in use, exiting

root at core [/usr/local/etc]# 31 > /usr/local/etc/rc.d/openntpd stop
Stopping openntpd.

root at core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net
  1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238  
offset 358.732506 sec

Why when it was running did it not update the clock on the server?

Strange thing two:

 From a different computer I can not get the time from the server  
running openntpd.

# ntpdate -b 10.20.0.16
  1 Jul 12:50:23 ntpdate[679]: no server suitable for synchronization  
found


What am I missing?


More information about the freebsd-questions mailing list