Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #205801 > unrolled thread

ntp-client does not sync with server

Started byStefan K <shadow_7@gmx.net>
First post2019-02-28 09:50 +0100
Last post2019-03-01 23:10 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  ntp-client does not sync with server Stefan K <shadow_7@gmx.net> - 2019-02-28 09:50 +0100
    Re: ntp-client does not sync with server john doe <johndoe65534@mail.com> - 2019-03-01 07:10 +0100
      Re: ntp-client does not sync with server Stefan K <shadow_7@gmx.net> - 2019-03-01 08:00 +0100
        Re: ntp-client does not sync with server deloptes <deloptes@gmail.com> - 2019-03-01 23:10 +0100

#205801 — ntp-client does not sync with server

FromStefan K <shadow_7@gmx.net>
Date2019-02-28 09:50 +0100
Subjectntp-client does not sync with server
Message-ID<xwpy9-23f-3@gated-at.bofh.it>
Hallo,

we have our own ntp-server which is running Ubuntu 14.04.LTS.
This Server works fine:
ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*178.63.9.110    129.69.1.153     2 u   56  128  377   22.658    0.249   0.053
-85.214.38.116   192.53.103.108   2 u   54  128  377    2.101   -5.105   0.051
+37.58.57.238    192.53.103.103   2 u   50  128  377   20.971    0.839   0.114
+94.130.76.108   192.53.103.108   2 u   56  128  377   24.007   -1.009   0.163


But on our Debian Strech server they all got Stratum16 and doesn't sync:
ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 timeserv.domain.ag .INIT.          16 u    - 1024    0    0.000    0.000   0.000


In Debian Jessie (and the same configuration/network) it works fine and get a Stratum3, also an 'ntpdate timeserv.domain.ag' works on Debian Stretch.

The firewall is not a problem, because with nmap and ntp-script it works fine:
nmap -sU -p 123 --script ntp-info timeserv.domain.ag

Starting Nmap 7.40 ( https://nmap.org ) at 2019-02-26 09:25 CET
Nmap scan report for timeserv.domain.ag (194.94.xxx.xxx)
Host is up (0.00017s latency).
PORT    STATE SERVICE
123/udp open  ntp
| ntp-info: 
|   receive time stamp: 2019-02-26T08:26:05
|   version: ntpd 4.2.6p5@1.2349-o Fri Jul  6 20:19:54 UTC 2018 (1)
|   processor: x86_64
|   system: Linux/3.13.0-161-generic
|   leap: 0
|   stratum: 3
|   precision: -20
|   rootdelay: 31.589
|   rootdisp: 42.723
|   refid: 178.63.9.110
|   reftime: 0xe01f73ce.3608c5f7
|   clock: 0xe01f768f.e9bd2105
|   peer: 57654
|   tc: 10
|   mintc: 3
|   offset: 0.008
|   frequency: 27.593
|   sys_jitter: 1.020
|   clk_jitter: 0.180
|_  clk_wander: 0.014\x0D
Service Info: OS: Linux/3.13.0-161-generic

Nmap done: 1 IP address (1 host up) scanned in 13.75 seconds

and it also looks like that the client try to query the tnp-server because I can find the IP-Address of the Server under the section 'private clients':
nmap -sU -pU:123 -Pn -n --script=ntp-monlist timeserv.domain.ag

Can somebody help me with this issue?

Thanks in advance!

best regards stefan
Stefan

[toc] | [next] | [standalone]


#205848

Fromjohn doe <johndoe65534@mail.com>
Date2019-03-01 07:10 +0100
Message-ID<xwJwR-6pE-1@gated-at.bofh.it>
In reply to#205801
On 2/28/2019 9:49 AM, Stefan K wrote:
> Hallo,
>
> we have our own ntp-server which is running Ubuntu 14.04.LTS.
> This Server works fine:
> ntpq -pn
>      remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
> *178.63.9.110    129.69.1.153     2 u   56  128  377   22.658    0.249   0.053
> -85.214.38.116   192.53.103.108   2 u   54  128  377    2.101   -5.105   0.051
> +37.58.57.238    192.53.103.103   2 u   50  128  377   20.971    0.839   0.114
> +94.130.76.108   192.53.103.108   2 u   56  128  377   24.007   -1.009   0.163
>
>
> But on our Debian Strech server they all got Stratum16 and doesn't sync:
> ntpq -p
>      remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
>  timeserv.domain.ag .INIT.          16 u    - 1024    0    0.000    0.000   0.000
>

Is the date somewhat in synk with the server?

http://lists.ntp.org/listinfo

--
John Doe

[toc] | [prev] | [next] | [standalone]


#205850

FromStefan K <shadow_7@gmx.net>
Date2019-03-01 08:00 +0100
Message-ID<xwKjg-6Gg-1@gated-at.bofh.it>
In reply to#205848
Hi John,

yes there are synced, if I run 'ntpdate timeserv.domain.ag' they syncd everything fine, if I start ntp-server after 2-3Days I've an delay of few seconds.
Maybe I schould ask on the ntp-mailing list?!

best regards
Stefan


On Friday, March 1, 2019 7:01:32 AM CET john doe wrote:
> On 2/28/2019 9:49 AM, Stefan K wrote:
> > Hallo,
> >
> > we have our own ntp-server which is running Ubuntu 14.04.LTS.
> > This Server works fine:
> > ntpq -pn
> >      remote           refid      st t when poll reach   delay   offset  jitter
> > ==============================================================================
> > *178.63.9.110    129.69.1.153     2 u   56  128  377   22.658    0.249   0.053
> > -85.214.38.116   192.53.103.108   2 u   54  128  377    2.101   -5.105   0.051
> > +37.58.57.238    192.53.103.103   2 u   50  128  377   20.971    0.839   0.114
> > +94.130.76.108   192.53.103.108   2 u   56  128  377   24.007   -1.009   0.163
> >
> >
> > But on our Debian Strech server they all got Stratum16 and doesn't sync:
> > ntpq -p
> >      remote           refid      st t when poll reach   delay   offset  jitter
> > ==============================================================================
> >  timeserv.domain.ag .INIT.          16 u    - 1024    0    0.000    0.000   0.000
> >
> 
> Is the date somewhat in synk with the server?
> 
> http://lists.ntp.org/listinfo
> 
> --
> John Doe
> 
> 

[toc] | [prev] | [next] | [standalone]


#205917

Fromdeloptes <deloptes@gmail.com>
Date2019-03-01 23:10 +0100
Message-ID<xwYvU-75Z-7@gated-at.bofh.it>
In reply to#205850
Stefan K wrote:

> Hi John,
> 
> yes there are synced, if I run 'ntpdate timeserv.domain.ag' they syncd
> everything fine, if I start ntp-server after 2-3Days I've an delay of few
> seconds. Maybe I schould ask on the ntp-mailing list?!
> 
> best regards
> Stefan

I have a similar problem. In a closed environment I have to sync time from
ntp server and I get stratum 16. ntpdate reports OK and syncs the time.
other machine that have to sync with our ntp receive also stratum 16. If I
tell our server that it has stratum 9 all other machines can sync with our
ntp server, but this is not what we want. So why would ntp server get
stratum 16?

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web