LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-02-2018, 03:41 PM   #31
tfg99
LQ Newbie
 
Registered: Sep 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by michaelk View Post
The -q just queries the server but does not actually set the clock and was just for testing ntp. If you run the command as root it will update the system clock but ntp needs to be stopped first.
Code:
 ntpdate 137.78.0.117
The offset is the time difference between the two computers.
Okay, I'm confused. (Sorry!) 'ntpdate -q 137.78.0.117' shows the time difference between my computer and the server? If that's true, then the offset of 207 seconds means 137.78.0.117 is keeping the correct time. But that's the server that has been selected to use with NTP, so if the server is keeping the right time, why doesn't it update my computer clock?

Sorry if I'm being dumb and missing something obvious. At first I thought the server was rubbish, but now it seems like it's actually keeping the correct time???

Jack
 
Old 10-02-2018, 03:52 PM   #32
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Like I said ntp is complicated. Correct time and quality or two different things. One reason your computer is not using the server is due to the high jitter value.

Quote:
When repeatedly reading the time, the difference may vary almost randomly. The difference of these differences (second derivation) is called jitter.
http://www.ntp.org/ntpfaq/NTP-s-sw-clocks-quality.htm

Last edited by michaelk; 10-02-2018 at 04:02 PM.
 
1 members found this post helpful.
Old 10-10-2018, 09:30 AM   #33
bradvan
Member
 
Registered: Mar 2009
Posts: 367

Rep: Reputation: 61
You might want to review RHEL 7 NTP Config. Red Hat has lots of good documentation. Make sure "iburst" is at the end of your server lines in /etc/ntp.conf. That helps to ensure a quicker synchronization if the time is off by a lot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Curious about the time ntpd takes to correct the clock in different distros hazel Linux - Software 9 06-02-2018 10:42 PM
Computer correct time problem on my Suse 9.2 machine? Thanks suse2166 Linux - Hardware 7 04-23-2005 11:47 AM
computer clock lose time tcma Linux - Hardware 1 11-18-2004 04:25 PM
Setting the computer clock according to a time server on the internet didi86 Linux - Software 11 10-05-2004 08:52 AM
clock never has correct time after booting up ki5eg Linux - Newbie 3 08-04-2004 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration