M100307: NTP problem diagnosis/debugging

Notes on debugging and diagnosing problems with NTP time service.

Debugging/Diagnosing NTP problems

Useful websites

Setting up NTP on OpenBSD

Official NTP documentation

Useful Commands

  /usr/local/sbin/ntpq
  ntpq> pe

Display servers/peers. Before the address should be a 
single-char code: '*', '+', ' ', etc.

'*' indicates the server that the clock is syncd to, 
'+' indicates a server it can be syncd to (but is not)

  ntpq> rv

Display stats on local clock - if stratum = 16, 
clock is not set to NTP time.

  ntpq> ... 

Most of ntpq output is useful - please see 
NTP doco for more.

Comments

Powered by Zendesk