User Tools

Site Tools


ntp_not_working

This is an old revision of the document!


ntp not working

If NTP stops working make sure you have the following file, if not crate it and you should be fine.
nano /var/lib/ntp/ntp.drift

if it is empty edit the following:

driftfile /var/lib/ntp/ntp.drift statistics loopstats peerstats clockstats filegen loopstats file loopstats type day enable filegen peerstats file peerstats type day enable filegen clockstats file clockstats type day enable server ntp.ubuntu.com server 0.north-america.pool.ntp.org server 1.north-america.pool.ntp.org server 2.north-america.pool.ntp.org server 3.north-america.pool.ntp.org restrict -4 default kod notrap nomodify nopeer noquery restrict -6 default kod notrap nomodify nopeer noquery restrict 127.0.0.1 restrict ::1
save the file and do:

sudo /etc/init.d/ntp stop
sudo ntpdate 0.north-america.pool.ntp.org
sudo /etc/init.d/ntp start

after that you should be fine.


Your ArtIT Team

ntp_not_working.1531241111.txt.gz · Last modified: 2018/07/10 18:45 by chris