[SOLVED] ntpdate: no server suitable for synchronization found
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Rep:
ntpdate: no server suitable for synchronization found
Hi,
While doing synchronization activity on clients, I got this error:
Code:
# ntpdate -u 172.42.12.35
27 Feb 04:15:28 ntpdate[11643]: no server suitable for synchronization found.
On server the ntp.conf configuration is as follows:
Quote:
# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
#restrict default kod nomodify notrap nopeer noquery
#restrict -6 default kod nomodify notrap nopeer noquery
# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
#restrict -6 ::1
# Hosts on local network are less restricted.
restrict 172.16.0.0 mask 255.255.0.0 nomodify notrap
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#server 172.42.12.35
#server 1.asia.pool.ntp.org
server 0.asia.pool.ntp.org
server 0.in.pool.ntp.org
#server 2.rhel.pool.ntp.org
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
#server 172.42.12.35 # local clock
#fudge 127.127.1.0 stratum 10
# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
driftfile /var/lib/ntp/drift
# Key file containing the keys and key identifiers used when operating
# with symmetric key cryptography.
#keys /etc/ntp/keys
# Specify the key identifiers which are trusted.
#trustedkey 4 8 42
# Specify the key identifier to use with the ntpdc utility.
#requestkey 8
# Specify the key identifier to use with the ntpq utility.
#controlkey 8
#server web.icfre.org
#restrict 172.16.0.0 mask 255.255.0.0 nomodify notrap noquery
#restrict default ignore
On client when I execute this command:
Code:
# ntpdate -d 172.42.12.35
I got this message:
Quote:
27 Feb 04:15:34 ntpdate[11655]: ntpdate 4.2.2p1@1.1570-o Wed Sep 3 14:28:30 UTC 2008 (1)
Looking for host 172.42.12.35 and service ntp
host found : web.icfre.org
transmit(172.42.12.35)
receive(172.42.12.35)
transmit(172.42.12.35)
receive(172.42.12.35)
transmit(172.42.12.35)
receive(172.42.12.35)
transmit(172.42.12.35)
receive(172.42.12.35)
transmit(172.42.12.35)
172.42.12.35: Server dropped: strata too high
server 172.42.12.35, port 123
stratum 16, precision -20, leap 11, trust 000
refid [172.42.12.35], delay 0.02579, dispersion 0.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 11:58:16.000
originate timestamp: d2f5348f.1b488f03 Mon, Feb 27 2012 4:15:35.106
transmit timestamp: d2f5348e.ff8183f9 Mon, Feb 27 2012 4:15:34.998
filter delay: 0.02579 0.02580 0.02585 0.02585
0.00000 0.00000 0.00000 0.00000
filter offset: 0.108391 0.108373 0.108382 0.108381
0.000000 0.000000 0.000000 0.000000
delay 0.02579, dispersion 0.00000
offset 0.108391
27 Feb 04:15:34 ntpdate[11655]: no server suitable for synchronization found
What could be the problem guys?
Last edited by Satyaveer Arya; 02-26-2012 at 05:02 PM.
As you can see in the ntpdate output, the stratum of the server is too high to sync with it (stratum 16).
Use ntpq -p to check stratum and sync of the servers your server sync with and choose servers with lower stratum. For instance if you point to ntp.ubuntu.com you will be pointing to a stratum 2 server (so your own server will be stratum 3) and everything will work just fine.
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Original Poster
Rep:
Hi,
The issue has been resolved now. Actually when I troubleshooted the problem I figured out that the pools which were difined in my ntp.conf configuration were down. I changed the pools and it worked for me.
Earlier the pools in my ntp.conf file were: server 0.asia.pool.ntp.org
server 0.in.pool.ntp.org
I changed them to: server 1.asia.pool.ntp.org
server 3.in.pool.ntp.org
Now, the issue has been solved, now I'm marking the thread as SOLVED.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.