Running a stable 8.1 box for some 3 years now. Yesterday I saw there was an update for ntp and after installing I tried to check status with "peers" and "rl" from within the ntpq shell, but I receive only a timeout:
ntpq> peers
localhost: timed out, nothing received
***Request timed out
Additionally, checking the logs up to yesterday, I could not locate any log lines of the form "ntpd[xxx]: synchronized" form.
Furthermore, yesterday I got confused and restarted the ntpd service with /etc/init.d/ntpd restart, resulting:
# /etc/init.d/ntpd restart
Shutting down ntpd: [ OK ]
ntpd: Synchronizing with time server: [FAILED]
Starting ntpd: [ OK ]
config show ntpd:
# config show ntpd
ntpd=service
NTPServer=X.Y.Z.W
SyncToHWClockSupported=yes
status=enabled
It's not an issue of the actual NTP server I'm getting time from:
# sv stop ntpd
ok: down: ntpd: 1s
# ntpdate -q X.Y.Z.W
server X.Y.Z.W, stratum 4, offset -0.000024, delay 0.02608
30 Dec 08:18:29 ntpdate[2461]: adjust time server X.Y.Z.W offset -0.000024 sec
I did find this though, while grep'ing for ntp in /var/log:
secure.20141222011202:Dec 29 08:42:24 myserver useradd[14722]: failed adding user `ntp', data deleted
Seems like a script went wrong, or did I do something bad?