1833770 Members
2084 Online
110063 Solutions
New Discussion

Re: ntp question

 
thebeatlesguru
Regular Advisor

ntp question

i find in syslog.log,there are so many xntpd message,like this:Mar 14 09:56:34 dm-px xntpd[27375]: synchronized to 192.168.29.3, stratum=2
Mar 14 09:57:31 dm-px xntpd[27375]: synchronized to 192.168.20.23, stratum=3
Mar 14 10:12:34 dm-px xntpd[27375]: synchronized to 192.168.29.3, stratum=2
Mar 14 10:13:21 dm-px xntpd[27375]: synchronized to 192.168.24.25, stratum=3
Mar 14 10:14:25 dm-px xntpd[27375]: synchronized to 192.168.24.27, stratum=3
Mar 14 10:14:08 dm-px xntpd[27375]: synchronized to 192.168.29.3, stratum=2
Mar 14 10:22:49 dm-px xntpd[27375]: synchronized to 192.168.29.3, stratum=2
Mar 14 10:23:32 dm-px xntpd[27375]: synchronized to 192.168.24.25, stratum=3
Mar 14 10:32:36 dm-px xntpd[27375]: synchronized to 192.168.24.27, stratum=3
Mar 14 10:33:06 dm-px xntpd[27375]: synchronized to 192.168.29.3, stratum=2
Mar 14 10:31:04 dm-px xntpd[27375]: synchronized to 192.168.24.25, stratum=3
Mar 14 14:49:19 dm-px xntpd[27375]: synchronized to 192.168.24.27, stratum=3
Mar 14 14:49:41 dm-px xntpd[27375]: synchronized to 192.168.29.3, stratum=2

i guess the frequency is too high,and what should i do to adjust it.
BTW,i dont add driftfile /etc/ntp.drift in ntp.conf.
hihi
2 REPLIES 2
Hartmut Lang
Trusted Contributor

Re: ntp question

You probably have a NTP-client listening to NTP-broadcasts, and you have a number NTP-Servers sending brodcasts:
192.168.20.23, stratum=3
192.168.29.3, stratum=2
192.168.24.25, stratum=3 192.168.24.27, stratum=3

Make only one NTP-Server sending broadcasts:
192.168.29.3, stratum=2

Or make your NTP-client not to listen to broadcasts.

Hardy
Roger Baptiste
Honored Contributor

Re: ntp question

hi,

check your /etc/ntp.conf file

#grep -v "^#" /etc/ntp.conf

and make sure there is only entry like
*****
server version 3 prefer
******

I think you have three such entries which means it is pointing to three NTP servers and is getting broadcast messages from them. Turn off broadcasting in case it is on. Once you do this, stop and restart ntp by /sbin/init.d/xntpd stop/start

Another check after starting ntp is run:
#ntpq -p it shows the ntp servers the system is listening to.

HTH
raj
Take it easy.