[ntp:questions] Re: ntpdate[7170]: no server suitable for synchronization found

Muthu cmuthu at naturesoft.net
Mon Sep 26 04:15:47 UTC 2005


Hi,

>
>      I am using NTP 4.2.0.20040617-r2 in Gentoo 2.6 kernal.When I am 
> trying from the client using  ntpdate -d 192.168.0.25, I am getting 
> the error like "ntpdate[7170]: no server suitable for synchronization 
> found". Can Sombody help me.
>
> The /etc/ntp.conf is
> ======================
> # NOTES:
> #  - you should only have to update the server line below
> #  - if you start getting lines like 'restrict' and 'fudge'
> #    and you didnt add them, AND you run dhcpcd on your
> #    network interfaces, be sure to add '-Y -N' to the
> #    dhcpcd_ethX variables in /etc/conf.d/net
>
> # Name of the servers ntpd should sync with
> # Please respect the access policy as stated by the responsible person.
> #server         ntp.example.tld         iburst
>
> server in.pool.ntp.org
>
> ##
> # A list of available servers can be found here:
> # http://www.pool.ntp.org/
> # http://www.pool.ntp.org/#use
> # A good way to get servers for your machine is:
> # netselect -s 3 pool.ntp.org
> ##
>
> restrict 127.0.0.1 nomodify
>
> # you should not need to modify the following paths
> driftfile       /var/lib/ntp/ntp.drift
> logfile         /var/log/ntp.log
> #server ntplocal.example.com prefer
> server sysnet-gateway25.naturesoft.net
>
> # Warning: Using default NTP settings will leave your NTP
> # server accessible to all hosts on the Internet.
>
> # If you want to deny all machines (including your own)
> # from accessing the NTP server, uncomment:
> #restrict default ignore
> # To deny other machines from changing the
> # configuration but allow localhost:
> #restrict default nomodify nopeer
>
>
> # To allow machines within your network to synchronize
> # their clocks with your server, but ensure they are
> # not allowed to configure the server or used as peers
> # to synchronize against, uncomment this line.
> #
> restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap
>
> ======================================
>
> [root at localhost ~]# ntpdate -d 192.168.0.25
> 23 Sep 17:36:19 ntpdate[7170]: ntpdate 4.1.1c-rc1 at 1.836 Mon Jul 25 
> 17:50:25 IST2005 (1)
> transmit(192.168.0.25)
> receive(192.168.0.25)
> transmit(192.168.0.25)
> receive(192.168.0.25)
> transmit(192.168.0.25)
> receive(192.168.0.25)
> transmit(192.168.0.25)
> receive(192.168.0.25)
> transmit(192.168.0.25)
> 192.168.0.25: Server dropped: strata too high
> server 192.168.0.25, port 123
> stratum 16, precision -20, leap 11, trust 000
> refid [73.78.73.84], delay 0.02582, dispersion 0.00000
> transmitted 4, in filter 4
> reference time: 00000000.00000000 Thu, Feb 7 2036 11:58:16.000
> originate timestamp: c6de6e37.d93c6866 Fri, Sep 23 2005 17:36:15.848
> transmit timestamp: c6de6e3b.791b823c Fri, Sep 23 2005 17:36:19.473
> filter delay: 0.02591 0.02585 0.02582 0.02582
> 0.00000 0.00000 0.00000 0.00000
> filter offset: -3.62460 -3.62461 -3.62462 -3.62462
> 0.000000 0.000000 0.000000 0.000000
> delay 0.02582, dispersion 0.00000
> offset -3.624620
> 23 Sep 17:36:19 *ntpdate[7170]: no server suitable for synchronization 
> found*
> =============================
>
> [root at localhost ~]# ntpq -c pe 192.168.0.25
>     remote           refid      st t when poll reach   delay   offset  
> jitter
> ============================================================================== 
>
> ppp61.17.56-136 bonehed.lcs.mit  2 u   61   64    1  127.897   
> -6.256   0.001
> gw8.naturesoft. .INIT.          16 u    -   64    0    0.000    0.000 
> 4000.00
>
> ==============================
>
> [root at localhost ~]# ntpq -c rv 192.168.0.25
> status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
> version="ntpd 4.2.0a at 1.1190-r Fri Sep 23 10:03:03 IST 2005 (1)",
> processor="i686", system="Linux/2.6.12-gentoo-r6", leap=11, stratum=16,
> precision=-20, rootdelay=0.000, rootdispersion=1.095, peer=0,
> refid=INIT, reftime=00000000.00000000  Thu, Feb  7 2036 11:58:16.000,
> poll=6, clock=c6de6e70.0d60956c  Fri, Sep 23 2005 17:37:12.052, state=1,
> offset=0.000, frequency=84.208, noise=0.001, jitter=0.001,
> stability=0.000
>
> ================================
>
> Thanks in Advance,
> Muthu.
> _______________________________________________
> questions mailing list
> questions at lists.ntp.isc.org
> https://lists.ntp.isc.org/mailman/listinfo/questions
>

It looks as if  192.168.0.25 is unsynchronized.   NTP does not allow you 
to ask any random machine for the time, machines selected as servers 
must KNOW what time it is.  You need to use a server that is 
synchronized, directly or indirectly to NIST or other National Standards 
Laboratory.

The server you have configured in ntp.conf, 
sysnet-gateway25.naturesoft.net,  cannot be found!  I just tried.

sunblok_$ ntpdate -u -d sysnet-gateway25.naturesoft.net
24 Sep 18:41:16 ntpdate[5923]: ntpdate 4.2.0 at 1.1161-r Sat Jan 31 
23:23:54 EST 2004 (9)
Looking for host sysnet-gateway25.naturesoft.net and service ntp
Error : host/servname not known
24 Sep 18:41:16 ntpdate[5923]: can't find host 
sysnet-gateway25.naturesoft.net

24 Sep 18:41:16 ntpdate[5923]: no servers can be used, exiting

=======================================================================================================================================

Right now I have taken out the sysnet-gateway25.naturesoft.net host from the ntp.conf.

I am using the in.pool.ntp.org to synchronise the server.Looks the server (sysnet-gateway25.naturesoft.net) is getting the time from the (in.pool.ntp.org).

sysnet-gateway25 root # ntpdate in.pool.ntp.org
26 Sep 09:39:08 ntpdate[10817]: step time server 61.17.56.136 offset 13.200295 sec
sysnet-gateway25 root #                

Now I need to set the server sysnet-gateway25.naturesoft.net as ntp server for the localnetwork.

When I am tring from the local system I am getting the following error.

[muthu at localhost ~]$ ntpdate -d -u sysnet-gateway25.naturesoft.net
26 Sep 09:43:39 ntpdate[7498]: ntpdate 4.1.1c-rc1 at 1.836 Mon Jul 25 17:50:25 IST2005 (1)
transmit(192.168.0.25)
transmit(192.168.0.25)
transmit(192.168.0.25)
transmit(192.168.0.25)
transmit(192.168.0.25)
192.168.0.25: Server dropped: no data
server 192.168.0.25, port 123
stratum 0, precision 0, leap 00, trust 000
refid [0.0.0.0], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036 11:58:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036 11:58:16.000
transmit timestamp:  c6e1f3f6.be34b945  Mon, Sep 26 2005  9:43:42.742
filter delay:  0.00000  0.00000  0.00000  0.00000
         0.00000  0.00000  0.00000  0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

26 Sep 09:43:43 *ntpdate[7498]: no server suitable for synchronization found*


Thanks & Regards,
Muthu.






More information about the questions mailing list