Whenever I execute ntpd the daemon will only run for about 10 to 20 minutes. Do you have any idea why?
ntpd expects that the system time has been set closely to the real time, for example by using ntpdate. If the reference time is significantly off, ntpd waits up to 20 minutes until it sets the time (See also Q: 5.1.1.4.). However, if the time is off by more than some magic amount of roughly 20 minutes, ntpd refuses to set the system time, and it terminates instead. To confirm what is going on, look into syslog or into the logfile you configured! Either set your system clock with ntpdate before starting ntpd, or try the -g switch for ntpd. Or just set the time manually.
Related Questions
- I have setup my SQL Remote to send every 10 minutes. What happens when it takes more than 10 minutes for DBRemote to run?
- I need to run "cvs update" at the beginning of my batch job. How do I execute "cvs update" from batch?
- How does the idea of a "test shoot" inform the underlying concept and the way you run Test?