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.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
FWIW, I had the same problem with apt on ubuntu, upgrading to an older and less secure version so I went to the NTP home site and downloaded and installed, in a different directory structure,
Code:
4.2.8p38
The reason was that there has been myriad vulnerabilities and flaws found and fixed in NTP since 2011 when 4.2.6p5 was released.
This might cause me a minor problem, due to the nature of the servers although these are development servers - the production servers keep things running. So it may well be that I'll have to change to Chrony.
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)
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)
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)
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)
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)
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)
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)
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)