LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-26-2012, 04:54 PM   #1
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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

#broadcast 192.168.1.255 key 42 # broadcast server
#broadcastclient # broadcast client
#broadcast 224.0.1.1 key 42 # multicast server
#multicastclient 224.0.1.1 # multicast client
#manycastserver 239.255.254.254 # manycast server
#manycastclient 239.255.254.254 key 42 # manycast client

# 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.
 
Old 02-27-2012, 01:35 AM   #2
rodrifra
Member
 
Registered: Mar 2007
Location: Spain
Distribution: Debian
Posts: 202

Rep: Reputation: 36
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.

Last edited by rodrifra; 02-27-2012 at 01:40 AM.
 
Old 02-27-2012, 02:34 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Original Poster
Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Hi rodrifra,

Quote:
For instance if you point to ntp.ubuntu.com you will be pointing to a stratum 2 server
Sorry, I didn't get, can you please explain it in more detailed way?

when I issue the ntpq -p command I get:

Quote:
[root@web ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
ns.cc.sinica.ed .INIT. 16 u - 64 0 0.000 0.000 0.000
ABTS-KK-static- .INIT. 16 u - 64 0 0.000 0.000 0.000
Now how will I choose from them and select for synchronization? They also shows stratum 16.
 
Old 02-27-2012, 05:29 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Original Poster
Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
deleted

Last edited by Satyaveer Arya; 02-27-2012 at 05:33 AM.
 
Old 02-27-2012, 05:32 AM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Original Poster
Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] tcpdump - no suitable device found LorenCarter Linux - Networking 5 06-07-2010 10:43 AM
NTP - no server suitable for synchronization found ninja master Linux - Software 3 05-25-2010 05:41 AM
CentOS 5.3 VM, trouble with ntpd, no server suitable for synchronization found lazybee26 Linux - Software 1 01-08-2010 08:37 PM
Error:- ntpdate: no server suitable for synchronization found renuaseri Linux - Newbie 3 06-10-2009 12:47 AM
ntp client: no server suitable for synchronization found duyuyang Linux - Software 1 05-12-2009 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration