Sponsored Content
Top Forums UNIX for Beginners Questions & Answers NTP synchronised problem in our Centos 7.6 node Post 303039051 by shanmugaraj on Saturday 21st of September 2019 05:18:05 AM
Old 09-21-2019
NTP synchronised problem in our Centos 7.6 node

Someone, please help on this issue:-

Code:
Note : for security reason i didn't mention hostnames and ips.
==============================================================================

[root@ ~]# ntpstat
unsynchronised
   polling server every 1024 s
Ntpstat showing unsynchronised.

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

[root@~]# systemctl status ntpd
- ntpd.service - Network Time Service
   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-04-04 15:00:51 UTC; 5 months 17 days ago
 Main PID: 8275 (ntpd)
    Tasks: 1
   Memory: 20.0K
==============================================================================

And all poller ntp servers are reaching through ntp port and no packet loss. 


[root@ ~]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
   node1               2 u   64 1024    7    1.362   -4.212   3.041
    node2             2 u   65 1024    7    1.752   -4.089   3.023
   node3              2 u   64 1024    7   25.469   -4.160   2.876
    node4            2 u   63 1024    7   25.666   -4.238   2.930
    node5            2 u   66 1024    7   45.907   -5.017   3.054
  node6              2 u   65 1024    7   45.905   -4.499   3.045

==============================================================================
NTptime is giving return code 5;
[root@~]# ntptime
ntp_gettime() returns code 5 (ERROR)
  time e1305f50.e00d7fc8  Sat, Sep 21 2019  8:35:28.875, (.875206994),
  maximum error 16000000 us, estimated error 16000000 us, TAI offset 0
ntp_adjtime() returns code 5 (ERROR)
  modes 0x0 (),
  offset 0.000 us, frequency 43.490 ppm, interval 1 s,
  maximum error 16000000 us, estimated error 16000000 us,
  status 0x2041 (PLL,UNSYNC,NANO),
  time constant 10, precision 0.001 us, tolerance 500 ppm,
[root@~]# date
Sat Sep 21 08:35:33 UTC 2019

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

This is the alert we're getting every time but usually, it's getting a fix within 10mins 

OP5 alert is :- 
'Check NTP Status' on host 'hostname' has passed the WARNING threshold.

Service: Check NTP Status
Service Notes: 

Status : WARNING
Notification Comment: 

Additional info:  
Warning - NTPd Health is 50% with 6 peer(s).

Thresholds:  Health (20%


Kindly help on this to fix the issue.

Last edited by Neo; 09-22-2019 at 06:14 AM.. Reason: Code Tags Please See YT Video on this: https://youtu.be/4BuPvWJV__k
 

10 More Discussions You Might Find Interesting

1. Programming

i-node problem

First , thank you for reading the post. I Use Digital Unix 4.0F . I get an i-node number of a text file using stat() function . I want to read the file context following the i-node information . But I do not know how to read disk information accroding to i-node information . (1 Reply)
Discussion started by: chenhao_no1
1 Replies

2. HP-UX

NTP problem

Hi, I have a problem using NTP. We have a setup as following : client --> HP Server(NTP) --> DMZ server --> DMZ server --> Internet Only some clients and our HP server is using NTP, the others are using different software. Now I get an error every day : Oct 1 13:17:15 nlunx1n1 xntpd:... (4 Replies)
Discussion started by: davidg
4 Replies

3. Solaris

NTP Authen Problem

Dear All I'm solaris user . I need to setup NTP authentication for my office server but I have some question for ntp setting up. I need to know if i set authen NTP the client that doesn't set for authen key can sync time from authen ntp server or not ?? when i setup the authen at ntp server ... (1 Reply)
Discussion started by: goasutlor
1 Replies

4. UNIX for Dummies Questions & Answers

NTP problem

All - i tried to sysn the clock from our server to get the timing and the server IP has been added in the ntp.conf file and i have some problems here. if some1 help me to solve this problem. 1. i can ping server 2. i was unable to ntpq -p (time out, no response from remote server, it looks... (2 Replies)
Discussion started by: March_2007
2 Replies

5. AIX

NTP Client problem

Hello everybody! When I run command "ntpdate" the following error occures "ksh: ntpdate: 0403-006 Execute permission denied. " # oslevel -s 5300-08-06-0918 oslevel -r 5300-08 eny suggestion friends? :-) (3 Replies)
Discussion started by: wwwzviadi
3 Replies

6. Red Hat

NTP sync problem

Hi, I have 4 machines and all are NTP configured with same ntp.conf file. But 3 machines are in sync with Time server and 4th machine is not contacting & sync with the NTP server. Please see the below details. # service ntpd stop Stopping ntpd: ... (0 Replies)
Discussion started by: uday123
0 Replies

7. Solaris

NTP problem.

Hi, I have edited the /etc/inet/ntp.conf file to point to a new time server. When I restart ntp on Solaris 10 using 'svcadm disable/enable ntp' it still points to the old ntp server when I run a 'ntpq -p'. Any ideas? Thanks. Sparcman (4 Replies)
Discussion started by: sparcman
4 Replies

8. UNIX for Advanced & Expert Users

NTP Problem

Hello every one i want to setup a ntp on sco unix 5.0.6 and i don't have any time server how can i do this with local time (1 Reply)
Discussion started by: kaydream
1 Replies

9. AIX

NTP time problem

I got an ntp time problem on AIX server. os version is AIX7.1 OS LEVEL 7.1.0.0 i got below output,when i run the below command bash-3.2# ntpdate -dv XXXXXXXXXXXXXXXXXXXXXXXX 4 Dec 12:50:49 ntpdate: 3.4y transmit(xxxxxxxxx) receive(xxxxxxxxx) transmit(xxxxxxxx) receive(xxxxxxxxx)... (9 Replies)
Discussion started by: murali969
9 Replies

10. AIX

GPS Clock Not Synchronised

Hi guys, I got some error on my application server mentioning that gps clock not sync to my db server. what is the command to check is my server is sync with the gps clock? appreciate if you guys can let me know how to troubleshoot this problem. Thanks (1 Reply)
Discussion started by: leecopper
1 Replies
ntptime(8)						      System Manager's Manual							ntptime(8)

NAME
ntptime - read and set kernel time variables SYNOPSIS
ntptime [ -MNchr ] [ -e est_error ] [ -f frequency ] [ -m max_error ] [ -o offset ] [ -s status ] [ -t time_constant] [ -T tai_offset ] DESCRIPTION
This program is useful only with special kernels described in the A Kernel Model for Precision Timekeeping page. It reads and displays time-related kernel variables using the ntp_gettime() system call. A similar display can be obtained using the ntpdc program and kerninfo command. OPTIONS
-c Display the execution time of ntptime itself. -e est_error Specify estimated error, in microseconds. -f frequency Specify frequency offset, in parts per million. -h Display help information. -m max_error Specify max possible errors, in microseconds. -o offset Specify clock offset, in microseconds. -r Display Unix and NTP times in raw format. -s status Specify clock status. Better know what you are doing. -t time_constant Specify time constant, an integer in the range 0-10. -M Switch to microsecond mode. -N Switch to nanosecond mode. -T tai_offset Set TAI offset. SEE ALSO
ntpd(8), ntpdate(8) The official HTML documentation. This file was automatically generated from HTML source. ntptime(8)
All times are GMT -4. The time now is 11:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy