Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whenever I execute ntpd the daemon will only run for about 10 to 20 minutes. Do you have any idea why?

daemon execute IDEA Minutes ntpd run
0
Posted

Whenever I execute ntpd the daemon will only run for about 10 to 20 minutes. Do you have any idea why?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123