Sponsored Content
Top Forums UNIX for Beginners Questions & Answers NTP synchronised problem in our Centos 7.6 node Post 303039100 by gull04 on Monday 23rd of September 2019 03:44:49 AM
Old 09-23-2019
Hi Folks,

Just a quick addition to the above, I have currently been installing a couple of RHEL 7.5 servers. They are both running ntp and have been installed from a RHEL 7.5 image and then fully updated from the current Red Hat online repos, so I decided just to tick this one off the build and when I checked the server I find.

Code:
[root@fbakirpomd4 bin]# ntpd --version
ntpd 4.2.6p5

exit 0
[root@fbakirpomd4 bin]# systemctl status ntpd
- ntpd.service - Network Time Service
   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2019-09-10 13:46:23 BST; 1 weeks 5 days ago
 Main PID: 32639 (ntpd)
   CGroup: /system.slice/ntpd.service
           └─32639 /usr/sbin/ntpd -u ntp:ntp -g

Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: Listen and drop on 1 v6wildcard :: UDP 123
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: Listen normally on 2 lo 127.0.0.1 UDP 123
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: Listen normally on 3 bond0 10.10.184.51 UDP 123
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: Listen normally on 4 bond0:0 10.10.184.52 UDP 123
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: Listening on routing socket on fd #21 for interface updates
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: 0.0.0.0 c016 06 restart
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: 0.0.0.0 c012 02 freq_set kernel 0.000 PPM
Sep 10 13:46:23 fbakirpomd4 ntpd[32639]: 0.0.0.0 c011 01 freq_not_set
[root@fbakirpomd4 bin]# ntpstat
unsynchronised
  time server re-starting
   polling server every 8 s
[root@fbakirpomd4 bin]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 10.107.129.61   .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 10.107.130.62   .INIT.          16 u    - 1024    0    0.000    0.000   0.000
[root@fbakirpomd4 bin]# ntptime
ntp_gettime() returns code 5 (ERROR)
  time e132f4ba.dfb26000  Mon, Sep 23 2019  8:37:30.873, (.873816),
  maximum error 16000000 us, estimated error 16000000 us, TAI offset 0
ntp_adjtime() returns code 5 (ERROR)
  modes 0x0 (),
  offset 0.000 us, frequency 0.000 ppm, interval 1 s,
  maximum error 16000000 us, estimated error 16000000 us,
  status 0x41 (PLL,UNSYNC),
  time constant 7, precision 1.000 us, tolerance 500 ppm,
[root@fbakirpomd4 bin]#

These servers are built from an already supplied Kick Start file, which to be fair is pretty large - much larger than it needs to be to be fair with a huge amount of configuration stuff in the file.

The repo's are setup in the Kick Start as follows;

Code:
[root@fbakirpomd4 bin]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager, versionlock
repo id                                            repo name                                                                               status
rhel-7-server-eus-rpms/x86_64                      Red Hat Enterprise Linux 7 Server - Extended Update Support (RPMs)                      21,608
rhel-7-server-rpms/x86_64                          Red Hat Enterprise Linux 7 Server (RPMs)                                                21,088
repolist: 42,696
[root@fbakirpomd4 bin]#

So I'll have a hunt around to try and come up with a reason for the package not updating - a yum update was run against the server.

Regards

Gull04
 

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
All times are GMT -4. The time now is 07:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy