I am following this tutorial It's 2008, so I am very careful using its advice. I need to make this machine the master, and let all other machines use it to sync the time. They are all out of sync by 20-30s...
By default the conf file has this:
# Specify one or more NTP servers.
# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
# more information.
server 0.ubuntu.pool.ntp.org
server 1.ubuntu.pool.ntp.org
server 2.ubuntu.pool.ntp.org
server 3.ubuntu.pool.ntp.org
# Use Ubuntu's ntp server as a fallback.
server ntp.ubuntu.com
I just made a slight change and now it becomes server 0.ubuntu.pool.ntp.org iburst
.
Restart, and monitor the log
tail -f /var/log/syslog
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listen and drop on 1 v6wildcard :: UDP 123
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listen normally on 3 eth0 134.74.77.21 UDP 123
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listen normally on 4 eth1 10.10.0.57 UDP 123
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listen normally on 5 eth1 fe80::5652:ff:fe5a:f89f UDP 123
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listen normally on 6 eth0 fe80::5652:ff:fe01:1aee UDP 123
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listen normally on 7 lo ::1 UDP 123
Jun 14 16:17:12 ghive-ldap ntpd[16721]: peers refreshed
Jun 14 16:17:12 ghive-ldap ntpd[16721]: Listening on routing socket on fd #24 for interface updates
It has been 20 minutes and nothing seems to be coming up.... I added other servers but none seems to be working...
ping 0.ubuntu.pool.ntp.org
PING 0.ubuntu.pool.ntp.org (50.7.247.114) 56(84) bytes of data.
From 172.17.200.3 icmp_seq=1 Packet filtered
From 172.17.200.3 icmp_seq=6 Packet filtered
Sounds bad. How about the closest? I am in NY, based on this list of servers
server nist1-ny.ustiming.org iburst
Ping that, also gives me packed filtered.
So what's going on here? Any idea? Thanks.
Here is the actual conf if you need to look at: http://dpaste.org/wDMxO/
root@ghive-ldap:~# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
nist1-ny.ustimi .INIT. 16 u - 64 0 0.000 0.000 0.000
name1.glorb.com 128.252.19.1 2 u - 64 1 32.783 -7.453 0.000
ns1.oninit.com .INIT. 16 u - 64 0 0.000 0.000 0.000
ns1.your-site.c .INIT. 16 u - 64 0 0.000 0.000 0.000
triangle.kansas .INIT. 16 u - 64 0 0.000 0.000 0.000
europium.canoni .INIT. 16 u - 64 0 0.000 0.000 0.000
ntpq -p
?ntpdate
, but might worth a while to dig down and setup the automated process... thanks for the help so far.