NTP client reseting date to 1970

by Jonis Maurin Ceará   Last Updated July 17, 2017 14:00 PM

I have and debian running NTP client, but this cliente is reseting date to 1970.....and doesn't show any error in log. This is that I tried: 1) date (shows 1970) 2) stop NTP service 3) ntpdate with server as parameter (date/time sync perfect) 4) date (show me correct date/time) 5) ntpd -q (reset date to 1970 without any error :/ )

This is my log fo these procedures....I don't have any idea how to fix this, since there's no error.

[email protected]:~# date
Thu Jan  1 00:01:57 UTC 1970
[email protected]:~# ntpdate 0.pool.ntp.org
17 Jul 13:33:44 ntpdate[11163]: step time server 195.22.17.7 offset 1500298282.181552 sec
[email protected]:~# date
Mon Jul 17 13:33:47 UTC 2017
[email protected]:~# ntpd -q
17 Jul 13:33:51 ntpd[11165]: ntpd [email protected] Sun May 10 14:06:45 UTC 2015 (1): Starting
17 Jul 13:33:51 ntpd[11165]: Command line: ntpd -q
17 Jul 13:33:51 ntpd[11165]: proto: precision = 1.542 usec (-19)
17 Jul 13:33:51 ntpd[11165]: Listen and drop on 0 v6wildcard [::]:123
17 Jul 13:33:51 ntpd[11165]: Listen and drop on 1 v4wildcard 0.0.0.0:123
17 Jul 13:33:51 ntpd[11165]: Listen normally on 2 lo 127.0.0.1:123
17 Jul 13:33:51 ntpd[11165]: Listen normally on 3 eth0 10.161.68.1:123
17 Jul 13:33:51 ntpd[11165]: Listen normally on 4 lo [::1]:123
17 Jul 13:33:51 ntpd[11165]: Listen normally on 5 eth0 [fe80::16ee:9dff:fe00:118%2]:123
17 Jul 13:33:51 ntpd[11165]: Listening on routing socket on fd #22 for interface updates
17 Jul 13:33:51 ntpd[11165]: authreadkeys: file /etc/ntp/keys: No such file or directory
restrict default: KOD does nothing without LIMITED.
17 Jul 13:33:51 ntpd[11165]: restrict default: KOD does nothing without LIMITED.
restrict ::: KOD does nothing without LIMITED.
17 Jul 13:33:51 ntpd[11165]: restrict ::: KOD does nothing without LIMITED.
17 Jul 13:33:51 ntpd[11165]: switching logging to file /var/log/ntp.log
17 Jul 13:33:51 ntpd[11165]: 0.0.0.0 c016 06 restart
17 Jul 13:33:51 ntpd[11165]: DNS 0.pool.ntp.org -> 194.8.30.16
17 Jul 13:33:51 ntpd[11165]: DNS 1.pool.ntp.org -> 5.135.59.152
17 Jul 13:33:51 ntpd[11165]: DNS 2.pool.ntp.org -> 80.172.224.24
 1 Jan 00:00:00 ntpd[11165]: ntpd: time set -1500298431.132100 s
ntpd: time set -1500298431.132100s
[email protected]:~# date
Thu Jan  1 00:00:03 UTC 1970
[email protected]:~#
Tags : ntp ntpd ntpdate


Related Questions


Different offset in "ntpq -p" and "ntpdate -q"

Updated December 01, 2015 13:00 PM




Shifting ntp server by x hours

Updated January 14, 2016 09:00 AM