On 2018-08-06, ashishchugh....@gmail.com <ashishchugh....@gmail.com> wrote:
> Hi 
>
> I am facing time drifting problem in my linux , i install ntp. first of all i 
> am unable to execute ntpstat command as it is saying command not found.
>
> Then i execute ntpq -p and can see below ouuput
>
>      remote           refid      st t when poll reach   delay   offset  jitter
>==============================================================================
>  time.tritn.com  .INIT.          16 u    - 1024    0    0.000    0.000   0.000
>  ntp1.wiktel.com .INIT.          16 u    - 1024    0    0.000    0.000   0.000
>  clocka.ntpjs.or .INIT.          16 u    - 1024    0    0.000    0.000   0.000
>  ntp.your.org    .INIT.          16 u    - 1024    0    0.000    0.000   0.000
>  chilipepper.can .INIT.          16 u    - 1024    0    0.000    0.000   0.000
>
> But i am unable to understand what is the mean of this output.
>
> Is that mean my system time is synced with ntp and at current time there is 
> no time delay in my local linux.
>
This billboard shows that none of your ntp servers are reachable from your EC2
instance.  Try turning off all of the crypto configuration.  You will want to 
make
things operate with a simple configuration first and then add features to a
working system.  Use just the suggested server:

pool pool.ntp.org

As your only one and not use the Amazon pool to start.  If it works and the
associations look good, then there is something incorrect on the EC2 side.

> 2- May i execute the ntp every time or it will run at back end automatically.
>
>
>  Local time: Mon 2018-08-06 07:15:02 UTC
>   Universal time: Mon 2018-08-06 07:15:02 UTC
>         Timezone: Etc/UTC (UTC, +0000)
>      NTP enabled: yes
> NTP synchronized: no
>  RTC in local TZ: no
>       DST active: n/a
>
NTP is not working on this instance.  Get it to syncronize first and then ask
your questions/

Tom


-- 
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF

_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to