Operating System - Linux
1748157 Members
4160 Online
108758 Solutions
New Discussion юеВ

Re: NTP - no server suitable for synchronization found

 
Chapaya
Frequent Advisor

NTP - no server suitable for synchronization found


Hi ,

when i'm trying to sync ntp on server by :
ntpdate , i get :

no server suitable for synchronization found
8 REPLIES 8
Ivan Ferreira
Honored Contributor

Re: NTP - no server suitable for synchronization found

Please post the output of:

ntpq -pn

Manu possible reasons, firewall, service down, etc.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Chapaya
Frequent Advisor

Re: NTP - no server suitable for synchronization found

[root@boris root]# ntpq -pn ntp_1
ntp_1: timed out, nothing received
***Request timed out
Ivan Ferreira
Honored Contributor

Re: NTP - no server suitable for synchronization found

That means that you cannot reach the NTP server. You should receive a result like this:

# ntpq -pn billbd1
remote refid st t when poll reach delay offset jitter
==============================================================================
+200.55.63.254 200.160.0.8 3 u 15 64 373 315.030 -4.358 141.480
-200.80.32.172 146.164.48.5 2 u 18 64 177 407.200 -44.299 15.230
216.27.190.202 0.0.0.0 16 u 925 1024 0 0.000 0.000 16000.0
*200.19.74.21 200.19.119.69 2 u 75 64 367 290.790 -0.492 8.820

Possible causes are:

Firewall
Selected NTP server is not running the NTP service
Selected NTP server has restrict options in /etc/ntp.conf
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: NTP - no server suitable for synchronization found

I see in your profile:

I have assigned points to 47 of 140 responses to my questions.

Please keep asigning points.

Cheers.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Fredrik.eriksson
Valued Contributor

Re: NTP - no server suitable for synchronization found

You should try to sync with an external server if you network allows you to, here's a list of open NTP servers:
http://support.ntp.org/bin/view/Servers/StratumOneTimeServers

Also, I do agree with Ivan. Make sure that you're allowed to connect to port 123 with UDP throu your internal linux firewall :)

Best regards
Fredrik Eriksson
Jeeshan
Honored Contributor

Re: NTP - no server suitable for synchronization found

where you put the ntp server information?
a warrior never quits
Fredrik.eriksson
Valued Contributor

Re: NTP - no server suitable for synchronization found

In your /etc/ntp.conf you can put a line looking like this:

server ntp1.sp.se prefer
server ntp2.sp.se

But what I would do is to try running:
$ ntpdate ntp1.sp.se

And see if you're allowed to change the time from an external source. This way you'll know if it's something wrong with your internal NTP service or if your linux box just isn't letting you set the time.

Best regards
Fredrik Eriksson
Chapaya
Frequent Advisor

Re: NTP - no server suitable for synchronization found


it's probably firewall issue . i will update you soon .