Ask Your Question
0

Network Time Protocol (NTP) is not synchronized

asked 2015-09-02 03:01:46 -0600

jValle gravatar image

updated 2015-09-07 11:58:15 -0600

SGPJ gravatar image

Hi!

I am install Network Time Protocol (NTP) service in the Controller node. To install NTP, i use this command:

#apt-get install ntp

Edit /etc/ntp.conf file and add, change, or remove the following keys as necessary for your environment:

1  server NTP_SERVER iburst
2  restrict -4 default kod notrap nomodify
3  restrict -6 default kod notrap nomodify

#service ntp restart

But if i check NTP synchoronization, i can not see any ntp server. I verify NTP synchronization with this command ntpq -c peers and the answer is :

          remote           refid       st  t  when   poll reach      delay    offset    jitter
================================================================================================
*i2t15.i2t.ehu.e           .GPS.         1 u      39     64   377     30.353    0.040    0.191
+dnscache-madrid            IP_DIR       2 u      32     64   377     20.311   -0.259    0.179
-masip.celingest           IP_DIR        2 u      41     64   357     36.639   -0.953    2.627
+ns1.indaloweb.n           IP_DIR        2 u      38     64   377     42.868   -0.107    0.256
+juniperberry.ual.          IP_DIR       2 u      35     64   377     50.892   -0.240    0.347
controller.ual             .INIT         16u       -    256     0      0.000    0.000    0.000

But i can not see NTP server in the before table and this table should indicate the hostname or IP address of one or more NTP server. I do not know that i am doing wrong.

Thank!!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-09-08 08:28:49 -0600

fifieldt gravatar image

Those are NTP servers in the table. Nothing appears wrong here.

edit flag offensive delete link more
0

answered 2016-07-03 22:20:00 -0600

gwyndiion gravatar image

if you want to see the IP address of the NTP server add the -n option

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-02 03:01:46 -0600

Seen: 750 times

Last updated: Jul 03 '16