[NTLUG:Discuss] NTP Problems

Michael Barnes barnmichael at gmail.com
Wed Jun 4 10:43:53 CDT 2008


I have two ntp servers running, one on SUSE and one on Centos4.
Clients cannot get time from the Centos4 server.

ntp.conf on SUSE (rdserv)(working)

restrict default nomodify
restrict 127.0.0.1
restrict 10.33.0.0  mask 255.255.0.0   nomodify notrap
server 10.33.8.22 iburst
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
driftfile /var/lib/ntp/drift/ntp.drift # path for drift file
logfile /var/log/ntp            # alternate log file


ntp.conf on Centos4 (bridge)(not working)

restrict default nomodify
restrict 127.0.0.1
restrict 10.33.0.0  mask 255.255.0.0   nomodify notrap
server 10.113.35.150 iburst
logfile /var/log/ntpq
driftfile /var/lib/ntp/drift

When I try to get time from another client, I get

srn-td-desk:~ # ntpdate bridge
 4 Jun 10:28:57 ntpdate[3013]: no server suitable for synchronization found
srn-td-desk:~ # ntpdate rdserv
 4 Jun 10:29:04 ntpdate[3014]: adjust time server 10.33.8.16 offset 0.000948 sec


Running netstat shows it is listening:
bridge netstat (not working)
udp        0      0 10.33.8.22:123                  0.0.0.0:*
udp        0      0 10.113.35.100:123             0.0.0.0:*
udp        0      0 127.0.0.1:123                    0.0.0.0:*
udp        0      0 0.0.0.0:123                        0.0.0.0:*
udp        0      0 fe80::20e:cff:fedc:f479:123   :::*
udp        0      0 fe80::211:11ff:fe6f:123         :::*
udp        0      0 ::1:123                               :::*
udp        0      0 :::123                                 :::*

rdserv netstat (working)
udp        0      0 10.33.8.16:123          0.0.0.0:*
udp        0      0 127.0.0.1:123            0.0.0.0:*
udp        0      0 0.0.0.0:123                0.0.0.0:*
udp        0      0 :::123                         :::*


Any ideas on why I cannot put time from the Centos machine?

Thanks,
Michael



More information about the Discuss mailing list