LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-23-2015, 02:04 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 128

Rep: Reputation: 6
Question ntp reports that it in sync, actually not


Hello,
I setup ntpd on my server to sync time with NTP stratum 4 server that's located in my local network.
To check how ntpd works I down the NTP server and execute ntpstat utility on the server to check ntpd status. I was surprised that ntpstat reported time is in sync!

Code:
# ntpstat
synchronised to NTP server (192.168.1.11) at stratum 4
   time correct to within 202 ms
   polling server every 1024 s
How is it possible? How to make ntpstat reporting unsynced status when NTP server is unavailable?
 
Old 11-23-2015, 06:12 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Code:
   polling server every 1024 s
My guess is that your ntp client is really lazy but will change its mind after 15 to 20 minutes.
 
1 members found this post helpful.
  


Reply

Tags
ntp, ntpd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian jessie NTP server sync to windows ntp server question rogzuser Linux - Server 1 09-08-2015 07:19 AM
NTP unable to sync jeewiz Linux - Newbie 12 10-24-2011 04:07 PM
NTP sync noir911 Linux - Server 1 03-29-2008 07:50 PM
NTP Sync? carlosinfl Linux - Networking 12 04-13-2006 11:33 AM
NTP sync problems rbutler Linux - Newbie 0 01-17-2003 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:10 PM.

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