Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th September 2009, 06:27 PM
tatacalu Offline
Registered User
 
Join Date: May 2008
Posts: 7
linuxfedorafirefox
what is /etc/init.d/ntpdate

Hello!

I saw that there are 2 NTP services in /etc/init.d:

/etc/init.d/ntpd - the NTP daemon
/etc/init.d/ntpdate - what is this ? and what is the relation between the 2 services?

I mean... if there is ntpd to do all the clock sync, what is ntpdate's role?

Thank you
Reply With Quote
  #2  
Old 9th September 2009, 07:18 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304
linuxfedorafirefox
ntpd uses the NTP protocol to *keep* your clock in sync with NTP servers by "drifting" the clock in tiny increments, but will not adjust the clock beyond certain (small) amounts. If the time is too far out of whack with the servers it won't do its job.

ntpdate sets the clock to the time specified by the server in one big jump allowing ntpd do to its thing.
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #3  
Old 9th September 2009, 11:31 PM
tatacalu Offline
Registered User
 
Join Date: May 2008
Posts: 7
windows_98_nt_2000firefox
Thumbs up Thanks!

Thank you for your reply!

Ok, I got the general Ideea, but only one issue remains:
the ntpdate service/daemon [/etc/init.d/ntpdate] does the "general sync"... when it starts up? or at a predefined time interval [in the case that the service is started]?

Thank you again for your help!
Reply With Quote
  #4  
Old 10th September 2009, 02:20 AM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304
linuxfedorafirefox
I haven't actually looked at the script, but I'm pretty sure it would only do it on startup, then rely on ntpd to keep the clock in sync.
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
Reply

Tags
/etc/init.d/ntpdate, ntpd, ntpdate

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is role of ntpdate in F9? techmum Alpha - Beta (Fedora 9 Only) 5 5th May 2008 10:04 AM
ntpdate won't work from cron intlspec Using Fedora 1 1st March 2005 05:34 AM


Current GMT-time: 23:38 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat