LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-27-2014, 02:01 AM   #1
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Rep: Reputation: Disabled
sync server time


I would like to use NTP to syn with interal NTP server time , I just add the below entry to ntp.conf , I would like to ask if the server will automatically sync. difference with NTP server or not after added this entry ? or it still need to use crontab to run the sync job ? thanks

#vi /etc/ntp.conf
server 127.127.1.0
 
Old 01-27-2014, 04:26 AM   #2
yech
LQ Newbie
 
Registered: Dec 2007
Posts: 22

Rep: Reputation: 0
I guess ntp servers running as a chain; when one server provides ntp to client, it also regular sync time with up-steam server as a client. So if you have ntp server running, it should auto sync time with the server address you put in /etc/ntp.conf.
 
Old 01-27-2014, 01:45 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,929

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
What do you mean by internal NTP time server? Do you have a GPS or other time source connected to the computer?

server 127.127.1.0 is typically used as a fallback so if no other network time sources are available NTP will use the system clock. However in this configuration the clock is running undisciplined which means it could have significant drift. If ntp is running it will automatically sync and a cron job is not required.
 
  


Reply


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
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 08:55 PM
Application time does not sync with the server SBN Linux - General 3 03-21-2009 11:09 AM
How can I sync my server's time with a certain date server and have it check itself abefroman Linux - Server 4 07-18-2008 06:54 PM
Sync windows 2000 server time with Linux server johnbeskie Linux - Enterprise 2 11-03-2007 05:25 AM
sync time from windows server ust Linux - Software 3 10-03-2007 06:01 AM


All times are GMT -5. The time now is 02:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration