Re: NTP not working on bootup



"C. (http://symcbean.blogspot.com/)" <colin.mckinnon@xxxxxxxxx> writes:

On 30 Dec, 19:12, Godzilla <godzi...@xxxxxxxxxxxx> wrote:
The past two days, my system clock has shown the time to be HOURS OFF after

If it is hours off, ntp will refuse to try to correct it.

booting. Going into YAST, Network Services, NTP Configuration, shows
that "Automatically start NTP Daemon during boot" is checked, as is
"Use Random servers from pool.ntp.org"

Going into advanced Configuration, the first choice is:
Undisciplined Local Clock(LOCAL) and then:
Server 0.pool.ntp.org
Server 1.pool.ntp.org
server 2.pool.ntp.org

I can sync with NTP manually, but how did my start NTP during boot
configuration get out of whack and what caused it to change?

Because your rtc clock is way out of whack.


Thanks,

Godzilla

2 things to check - first, that NTP is starting *after* the network
comes up (I've previously been bitten by this one). The other is that,
if the hardware clock is seriously adrift from the network time, NTP
will not change it - IIRC this is documented on the man page.

C.
.



Relevant Pages

  • Re: problems with new kernels from yum
    ... >>I'm not sure when it changed, but, I clearly remember that when ntp ... >>would occasionally fail, there would be a message that would say that ... and then the machine would continue to boot. ... I have ntpd on all the time and I reboot at least twice per day as I ...
    (Fedora)
  • Asktime and ntp problem on 5.0.7
    ... I've noticed that ntp and asktime have problems on 5.0.7. ... > server time-a.nist.gov ... Then I modify /etc/tcp as follows to run ntpdate upon boot up. ...
    (comp.unix.sco.misc)
  • Re: Asktime and ntp problem on 5.0.7
    ... >> server 127.127.1.0 ... sets the default route prior to executing the ntp section. ... On the two new 5.0.7 system I set up, the ntpdate command ... > several quick boot up cycles can be days off. ...
    (comp.unix.sco.misc)
  • Re: ntp woes (and more-general questions about startup and logging)
    ... the machine tries to "ntp" sync before the all of the IP ... stack is functional during boot and it fails to sync. ... I do remember seeing *something* in the logs from ntpd, ...
    (comp.sys.mac.system)
  • Re: New Windows NTP Installer available
    ... Should NTP have a dependency on DNS being working, ... service to work properly on initial Windows boot up. ... the foehr installer without bumping the version number. ... have the fixed version by looking at the digital signature which should be dated ...
    (comp.protocols.time.ntp)