NTP synchronised problem in our Centos 7.6 node


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers NTP synchronised problem in our Centos 7.6 node
# 22  
Old 09-26-2019
and the time on my mac pro has converged.....

Image
# 23  
Old 09-26-2019
Update:

Chrony now running on three of my Linux Ubuntu servers and all four of my Macs ( 2 MBA, I MacMini and 1 MacPro).

So, for the most part I have retired ntpd in favor of chronyd.

All boxes show system times within a few microseconds of NTP time.

I want to take this time to thank gull04 for suggesting Chrony in this earlier post, in this discussion:

So it may well be that I'll have to change to Chrony

I've mostly made the switch thanks to Gull04! Thanks for the idea.
# 24  
Old 09-27-2019
One more concern, kindly reply on this, if we're doing update or upgrade using yum for ntp and ntpdate packages we can update upto ntp-4.2.6p5-29.el7.centos.x86_64.rpm version only, also link it's showing for centos 7 ntp-4.2.6p5-29.el7.centos.x86_64.rpm is the lastest version, We couldn't update ntpd 4.2.8p13@1.3847 which you shared the version.

Also tried downloading ntp-4.2.8p13.tar.gz version from your link and followed INSTALL file, it's not working.

Can you confirm for Centos 7 which i updated is the correct latest version?

--- Post updated at 12:41 PM ---

One more concern Neo,
kindly reply on this, if we're doing update or upgrade using yum for ntp and ntpdate packages we can update upto ntp-4.2.6p5-29.el7.centos.x86_64.rpm version only, also link it's showing for centos 7 ntp-4.2.6p5-29.el7.centos.x86_64.rpm is the lastest version, We couldn't update ntpd 4.2.8p13@1.3847 which you shared the version.

Also tried downloading ntp-4.2.8p13.tar.gz version from your link and followed INSTALL file, it's not working.

Can you confirm for Centos 7 which i updated is the correct latest version?

--- Post updated at 12:42 PM ---

Sorry to post again, To be able to post links or images your post count must be 5 or greater. You currently have 4 posts. because of this only again posting.

--- Post updated at 12:43 PM ---

Please reply on this
# 25  
Old 09-27-2019
Yes, at current that's the latest for Centos 7.

The -29 is the RedHat fix level. They did 29 fixes on the ntp-4.2.6p5 from ntp.org.
You can get some details from
Code:
rpm -q --changelog ntp


Last edited by MadeInGermany; 09-27-2019 at 09:16 AM..
# 26  
Old 09-27-2019
Quote:
Originally Posted by shanmugaraj
Can you confirm for Centos 7 which i updated is the correct latest version?

--- Post updated at 12:41 PM ---

One more concern Neo,
kindly reply on this, if we're doing update or upgrade using yum for ntp and ntpdate packages we can update upto ntp-4.2.6p5-29.el7.centos.x86_64.rpm version only, also link it's showing for centos 7 ntp-4.2.6p5-29.el7.centos.x86_64.rpm is the lastest version, We couldn't update ntpd 4.2.8p13@1.3847 which you shared the version.

Also tried downloading ntp-4.2.8p13.tar.gz version from your link and followed INSTALL file, it's not working.

Can you confirm for Centos 7 which i updated is the correct latest version?

--- Post updated at 12:42 PM ---

Sorry to post again, To be able to post links or images your post count must be 5 or greater. You currently have 4 posts. because of this only again posting.

--- Post updated at 12:43 PM ---

Please reply on this
I already mentioned that the Cento, Ubuntu, etc. Linux distribution versions are outdated and to get the latest version you need to install manually and I provided the link to the downloads, the instructions and the vulnerability page.

I think I was very clear on this.

If you want a more secure version, you need to manually install per the instruction on the ntp site I provided.

Please read my posts more carefully.

Thanks!

...and please, please do not let your security depend on what is available using yum or apt. These are tools to make updates easier but if the distribution has not updated, then you need to manually upgrade, as I have did (before I decided to switch over to Chrony because I find the ntp history of vulnerabilities not acceptable, but that is just me. YMMV)
# 27  
Old 09-27-2019
Please note, version:

ntp-4.2.6p5-29.el7.centos.x86_64.rpm

... is eleven years old.. and is not current and resides in the ntp historical archives.
# 28  
Old 09-27-2019
Hi Neo,

Code:
Basic Installation
==================

   These are generic *nix installation instructions.

   For Windows/NT, please see ports/winnt and html/build/hints/winnt.html.

   The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation.  It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions.  Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').

   If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release.  If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.

   The file `configure.in' is used to create `configure' by a program
called `autoconf'.  You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.  If you're
     using `csh' on an old version of System V, you might need to type
     `sh ./configure' instead to prevent `csh' from trying to execute
     `configure' itself.

     Running `configure' takes a while.  While running, it prints some
     messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
     the package.

  4. Type `make install' to install the programs and any data files and
     documentation.

  5. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.

Compilers and Options
=====================

   Some systems require unusual options for compilation or linking that
the `configure' script does not know about.  You can give `configure'
initial values for variables by setting them in the environment.  Using
a Bourne-compatible shell, you can do that on the command line like
this:
     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure

Or on systems that have the `env' program, you can do it like this:
     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure

Compiling For Multiple Architectures
====================================

   You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory.  To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'.  `cd' to the
directory where you want the object files and executables to go and run
the `configure' script.  `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.

   If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory.  After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.

Installation Names
==================

   By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc.  You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.

   You can specify separate installation prefixes for
architecture-specific files and architecture-independent files.  If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.

   If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.

Optional Features
=================

   Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System).  The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.

   For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.

Specifying the System Type
==========================

   There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on.  Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option.  TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
     CPU-COMPANY-SYSTEM

See the file `config.sub' for the possible values of each field.  If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.

   If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.

Sharing Defaults
================

   If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists.  Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.

Operation Controls
==================

   `configure' recognizes the following options to control how it
operates.

`--cache-file=FILE'
     Use and save the results of the tests in FILE instead of
     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
     debugging `configure'.

`--help'
     Print a summary of the options to `configure', and exit.

`--quiet'
`--silent'
`-q'
     Do not print messages saying which checks are being made.

`--srcdir=DIR'
     Look for the package's source code in directory DIR.  Usually
     `configure' can determine that directory automatically.

`--version'
     Print the version of Autoconf used to generate the `configure'
     script, and exit.

`configure' also accepts some other, not widely useful, options

.


The above steps had followed not working in centos 7
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question