LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ntp server keeps on changing time-local ntp server (https://www.linuxquestions.org/questions/linux-newbie-8/ntp-server-keeps-on-changing-time-local-ntp-server-4175446891/)

Gil@LQ 01-23-2013 08:22 AM

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.

acid_kewpie 01-23-2013 08:46 AM

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

shivaa 01-23-2013 08:53 AM

Is your external ntp server i.e. 127.127.1.0 pinging & alive, from your local machine?

acid_kewpie 01-23-2013 09:33 AM

Quote:

Originally Posted by shivaa (Post 4876130)
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 04:25 PM.