We have a private network that we wish to implement an NTP server inside. Both the NTP server and client have been configure like this. On the server running ntpstat
gives me:
synchronised to local net at stratum 11
time correct to within 11 ms
polling server every 1024 s
and running ntpq -p
gives me:
remote refid st t when poll reach delay offset jitter
==============================================================================
*LOCAL(0) .LOCL. 10 l 55 64 377 0.000 0.000 0.001
Unfortunately on a client PC, running ntpstat
gives me:
unsynchronised
time server re-starting
polling server every 64 s
and running ntpq -p
used to give me Name or service not known
but after adding an entry to /etc/hosts
with the server's IP and name it gives me:
remote refid st t when poll reach delay offset jitter
==============================================================================
SERVER-IS2 .INIT. 16 u 49 64 16 0.214 2.679 0.789
Too bad even after this the time is still not synchronized and ntpstat
keeps giving me the same message.
The network is completely isolated that we don't want to use external NTP server that our server gets its time from.
What I tried so far:
- Re-install the ntp package.
- Restart the
ntpd
service. - Rebooting.
chkconfig ntpd on
.
Any help is appreciated!
ps -ef | grep [n]tp
on your server, and also the (uncommented) lines from yourntp.conf
. Feel free to change the IP addresses if that's really necessary, but if you do so please ensure that you change them consistently (don't change 1.2.3.4 to 5.6.7.8 in one place and then 5.6.3.8 in another).dpkg -l | grep ntp
)statrum
level, I also will have to check... please post the/etc/ntp.conf
file of both the client and the server.