Sponsored Content
Top Forums UNIX for Beginners Questions & Answers NTP synchronised problem in our Centos 7.6 node Post 303039195 by Neo on Thursday 26th of September 2019 12:40:45 AM
Old 09-26-2019
Here is what I did (as quick test) on a ubuntu server (because did not want to update system with apt in this case, on this particular server):

Code:
wget https://download.tuxfamily.org/chrony/chrony-3.5.tar.gz
tar xvzf chrony-3.5.tar.gztar xvzf chrony-3.5.tar.gz
cat INSTALL
./configure --disable-readline other-options
make all
vi /etc/chrony.conf
ps aux | grep chron* | grep -v grep

root     28922  0.0  0.0  97024  2620 ?        S    23:29   0:00 /usr/local/sbin/chronyd

cd /var/log
grep chrony *log

syslog:Sep 25 23:29:44 www chronyd[28922]: chronyd version 3.5 starting (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SIGND +ASYNCDNS -SECHASH +IPV6 -DEBUG)
syslog:Sep 25 23:29:44 www chronyd[28922]: Initial frequency 16.866 ppm
syslog:Sep 25 23:29:49 www chronyd[28922]: Selected source 104.168.88.15


Code:
cat /etc/chrony.conf
pool pool.ntp.org iburst
makestep 1.0 3
rtcsync
port 0

References (2):

chrony - Download
chrony - Installation

TODO: Change this so chrony does not run as root (see next post)...
 

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
CHRONYC(1)							   User's Manual							CHRONYC(1)

NAME
chronyc - command-line interface for chronyd SYNOPSIS
chronyc [OPTIONS] DESCRIPTION
chrony is a pair of programs for maintaining the accuracy of computer clocks. chronyc is a command-line interface program which can be used to monitor chronyd's performance and to change various operating parameters whilst it is running. USAGE
A detailed description of all commands supported by chronyc is available via the documentation supplied with the distribution (chrony.txt and chrony.texi). OPTIONS
A summary of the options supported by chronyc is included below. -h hostname specify hostname -p port-number specify port-number -n display raw IP addresses (don't attempt to look up hostnames) -4 resolve hostnames only to IPv4 addresses -6 resolve hostnames only to IPv6 addresses command specify command. If no command is given, chronyc will read commands interactively. VERSION
1.24 BUGS
To report bugs, please visit http://chrony.tuxfamily.org SEE ALSO
chronyd(8), chrony(1) http://chrony.tuxfamily.org/ AUTHOR
Richard Curnow <rc@rc0.org.uk> This man-page was written by Jan Schaumann <jschauma@netmeister.org> as part of "The Missing Man Pages Project". Please see http://www.netmeister.org/misc/m2p2/index.html for details. The complete chrony documentation is supplied in texinfo format. chrony December 04, 2009 CHRONYC(1)
All times are GMT -4. The time now is 07:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy