LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2013, 08:22 AM   #1
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Rep: Reputation: 1
ntp server keeps on changing time-local ntp server


hi all,

i configured one ntp server with sysncs time over network with it's local time, ntp server has not internet connectivity so it does's get synced from external ntp server, i enabled

Quote:
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
in /etc/ntp.conf so that server takes local time. Every thing is fine, problem is once set time via GUI it looks good, but when i check after one of two days time will be different, i guess its changing after a reboot, can anyone tell me how to set this thing.


Thank you.
 
Old 01-23-2013, 08:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
with just that config, another ntp client would refuse to use it as it would have a strata that's too low with an undisciplined clock. I'd guess that "ntpq -pn" does NOT show that it's syncing anywhere? NTP without a route back to a strata 1 time source is often very frustrating. Have a look at orphan mode - http://support.ntp.org/bin/view/Support/OrphanMode
 
Old 01-23-2013, 08:53 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Is your external ntp server i.e. 127.127.1.0 pinging & alive, from your local machine?
 
Old 01-23-2013, 09:33 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by shivaa View Post
Is your external ntp server i.e. 127.127.1.0 pinging & alive, from your local machine?
That is NOT an external address, it's a fudge in the config.
 
  


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
Local NTP server configuration on RHEL 6 Virtual server assistance needed aalinare Linux - Newbie 5 07-05-2012 07:58 AM
Local NTP server configuration on RHEL 6 Virtual server assistance needed aalinare Linux - Software 1 07-03-2012 09:42 AM
Time on Server keeps changing whether I'm using NTP or not. custangro Linux - Server 15 05-12-2009 03:57 PM
LOcal NTP server sawan Linux - Software 3 07-24-2005 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:43 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