NTP Troubles, no time synchronization

I can not get NTP synchronization work, from console i get: ntpdate[10627]: no server suitable for synchronization found
when i input ntpdate.
Also when input ntpstate: returns: unsynchronised polling server every 8 s

Windows clients and kvm guests behind a Nethserver firewall also fails NTP sincronization even with NAT 1:1 and port forward.
Please help!

please post the output of

config show | grep ntp

and

 service ntpd status

moreover, ntpdate needs a ntp server FQDN or ip to work and ntpd service must be stopped

[root@neth ~]# ntpdate
24 Jul 21:52:13 ntpdate[14751]: no servers can be used, exiting

but

[root@neth ~]# ntpdate pool.ntp.org
24 Jul 21:53:26 ntpdate[14803]: the NTP socket is in use, exiting

finally

[root@neth ~]# service ntpd stop
Arresto di ntpd:                                           [  OK  ]
[root@neth ~]# ntpdate pool.ntp.org
24 Jul 21:54:23 ntpdate[14854]: adjust time server 212.45.144.16 offset -0.000864 sec
1 Like

No need to stop ntpd:

ntpdate -u pool.ntp.org

[root@neth ~]# config show | grep ntp
ntpd=service
NTPServer=pool.ntp.org
[root@neth ~]# service ntpd status
ntpd (pid 6331) is running…

[root@neth ~]# ntpdate
28 Jul 10:05:34 ntpdate[9670]: no servers can be used, exiting

finally
[root@neth ~]# service ntpd stop
Shutting down ntpd: [ OK ]

[root@neth ~]# ntpdate pool.ntp.org
28 Jul 10:07:29 ntpdate[10420]: no server suitable for synchronization found

[root@neth ~]# ntpdate -u pool.ntp.org
28 Jul 10:09:27 ntpdate[10469]: no server suitable for synchronization found

then you have some network issue… can you ping pool.ntp.org?

1 Like

I decided to try the console commands because I noticed that it was not synchronizing after configure it on the dashboard:

more information:

and

@cronopio: can you ping from your server CLI pool.ntp.org?

Please, paste the output of the command:

ntpdate -u -d pool.ntp.org

[root@neth ~]# ntpdate -u -d pool.ntp.org
29 Jul 11:33:48 ntpdate[7368]: ntpdate 4.2.6p5@1.2349-o Mon Mar 16 14:53:04 UTC 2015 (1)
Looking for host pool.ntp.org and service ntp
host found : lethe.auf-feindgebiet.de
transmit(104.236.219.85)
transmit(108.61.56.35)
transmit(209.244.0.3)
transmit(4.53.160.75)
transmit(104.236.219.85)
transmit(108.61.56.35)
transmit(209.244.0.3)
transmit(4.53.160.75)
transmit(104.236.219.85)
transmit(108.61.56.35)
transmit(209.244.0.3)
transmit(4.53.160.75)
transmit(104.236.219.85)
transmit(108.61.56.35)
transmit(209.244.0.3)
transmit(4.53.160.75)
transmit(104.236.219.85)
transmit(108.61.56.35)
transmit(209.244.0.3)
transmit(4.53.160.75)
104.236.219.85: Server dropped: no data
108.61.56.35: Server dropped: no data
209.244.0.3: Server dropped: no data
4.53.160.75: Server dropped: no data
server 104.236.219.85, port 123
stratum 0, precision 0, leap 00, trust 000
refid [104.236.219.85], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Sun, Dec 31 1899 18:30:24.000
originate timestamp: 00000000.00000000 Sun, Dec 31 1899 18:30:24.000
transmit timestamp: d96370e0.86f9331c Wed, Jul 29 2015 11:33:52.527
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

server 108.61.56.35, port 123
stratum 0, precision 0, leap 00, trust 000
refid [108.61.56.35], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Sun, Dec 31 1899 18:30:24.000
originate timestamp: 00000000.00000000 Sun, Dec 31 1899 18:30:24.000
transmit timestamp: d96370e0.ba2bdd31 Wed, Jul 29 2015 11:33:52.727
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

server 209.244.0.3, port 123
stratum 0, precision 0, leap 00, trust 000
refid [209.244.0.3], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Sun, Dec 31 1899 18:30:24.000
originate timestamp: 00000000.00000000 Sun, Dec 31 1899 18:30:24.000
transmit timestamp: d96370e0.ed5f6892 Wed, Jul 29 2015 11:33:52.927
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

server 4.53.160.75, port 123
stratum 0, precision 0, leap 00, trust 000
refid [4.53.160.75], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Sun, Dec 31 1899 18:30:24.000
originate timestamp: 00000000.00000000 Sun, Dec 31 1899 18:30:24.000
transmit timestamp: d96370e1.2092f5f7 Wed, Jul 29 2015 11:33:53.127
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

I think that something is “corrupting” your Internet traffic. Are you behind a firewall or nat router?

must be…my ISP “acts in mysterious ways”…
anyway, I’m going to configure my nethserver as NTP server for my LAN. Thanks!!!