User Tools

Site Tools


ntp_not_working

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ntp_not_working [2018/07/10 18:11] – created chrisntp_not_working [2018/07/10 18:46] (current) chris
Line 1: Line 1:
-ntp not working+**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.europe.pool.ntp.org\\ 
 +server 1.europe.pool.ntp.org\\ 
 +server 2.europe.pool.ntp.org\\ 
 +server 3.europe.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 
 +\\ 
 +\\ 
 + 
 +**[[zentyal|BACK]]** 
 + 
ntp_not_working.1531239118.txt.gz · Last modified: 2018/07/10 18:11 by chris