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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-23-2013, 08:22 AM
|
#1
|
Member
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273
Rep:
|
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.
|
|
|
01-23-2013, 08:46 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
01-23-2013, 08:53 AM
|
#3
|
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
|
Is your external ntp server i.e. 127.127.1.0 pinging & alive, from your local machine?
|
|
|
01-23-2013, 09:33 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally Posted by shivaa
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.
|
|
|
All times are GMT -5. The time now is 05:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|