Hi, Kevin--

On Mar 13, 2007, at 1:14 PM, Kevin Kinsey wrote:
ntpd won't continue running on my "stratum 2" server (making our other systems a tad untrustworthy "as time goes by").

$ uname -a
FreeBSD ezekiel.daleco.biz 6.2-RELEASE FreeBSD 6.2-RELEASE #5: Sat Jan 20 16:41:42 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/ sys/GENERIC i386

using ktrace and kdump I get this prior to exit:
[ ... ]

The logging paths seen in the ktrace are rather non-standard-- perhaps ntpd doesn't have the right permissions to write to them? Normally, ntpd logs to the NTP facility and critical messages might appear in /var/log/messages, so additional clues are probably there.

Showing your ntp.conf file would also help, but if you'd like to see an example of a working stratum-2 conf file which has been in use for quite some time:

1-pi# cat /etc/ntp.conf
# /etc/ntp.conf, configuration for ntpd

driftfile /etc/ntp.drift

statsdir /var/log/ntp/
statistics sysstats
filegen sysstats file sysstats type week enable
#logconfig =syncevents +sysevents # +allclock
#statistics loopstats peerstats clockstats
#filegen loopstats file loopstats type day enable
#filegen peerstats file peerstats type day enable
#filegen clockstats file clockstats type day enable

server time.nist.gov maxpoll 12
server bonehed.lcs.mit.edu maxpoll 12
server sundial.columbia.edu maxpoll 12
server wwv.otc.psu.edu maxpoll 12
#peer pi.codefab.com maxpoll 12
peer pong.codefab.com maxpoll 12
peer shot.codefab.com maxpoll 12
peer ns1.pkix.net maxpoll 12

restrict default nomodify
restrict localhost
#discard average 9 minimum 2
#restrict default limited
restrict 64.152.61.123 kod
# ...list of bad clients being fed "kod" or "ignore" trimmed...

2-pi# grep ntp /etc/syslog.conf
ntp.debug                                       /var/log/ntp/ntp.log

3-pi# ntpq -p
remote refid st t when poll reach delay offset jitter ======================================================================== ====== -time.nist.gov .ACTS. 1 u 41m 68m 37 49.991 7.961 0.580 *bonehed.lcs.mit .CDMA. 1 u 204 68m 377 20.057 -2.610 6.201 +hickory.cc.colu 128.59.39.48 2 u 245 68m 377 25.537 -1.196 7.415 -otc1.psu.edu .WWV. 1 u 276 68m 377 36.047 -21.679 0.037 +pong 18.145.0.30 2 u 274 1024 377 0.257 -3.274 2.857 +shot 65.212.71.103 2 u 495 1024 377 0.343 1.467 0.664 -ns1 129.6.15.29 2 u 929 1024 376 0.389 -5.890 0.769

For more details, one could also see:

  http://ntp1.codefab.com/ntpstats/ntp_stats.txt
  http://www.pool.ntp.org/scores/199.103.21.227

--
-Chuck

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to