Re: NTP fails synchronization with server at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 5, 2007 2:08 AM, Craig White <craigwhite@xxxxxxxxxxx> wrote:
> > > > > > > > I have NTP configured to synchronize with a server at startup, but it
> > > > > > > > always fails that as reported by F8 during the booting.
> > > > > > > > Notwithstanding:
> > > > > > > >
> > > > > > > > # /sbin/service ntpd restart
> > > > > > > > Shutting down ntpd:                                        [  OK  ]
> > > > > > > > ntpd: Synchronizing with time server:                      [  OK  ]
> > > > > > > > Starting ntpd:                                             [  OK  ]
> > > > > > > > #
> > > > > > > >
> > > > > > > > Any ideas?
> > > > > > >
> > > > > > > How long after the network starts does ntpd start? The network
> > > > > > > connection might not be quite there.  Maybe add a "sleep 10" to the ntpd
> > > > > > > file in init.d?
> > > > > >
> > > > > > How can I add such a sleep? Should I add the line
> > > > > >
> > > > > > sleep 10
> > > > > >
> > > > > > at the end of the ntpd file?
> > > > > ----
> > > > > personally, I like the idea of turning off ipv6 and rebooting better.
> > > > >
> > > > > If you want to add the sleep 10, probably in the start section after
> > > > >
> > > > >         [ -x /usr/sbin/ntpd ] || exit 5
> > > >
> > > > I do not see any option in system-config-network to turn off ipv6.
> > > ----
> > > try editing /etc/sysconfig/network
> > >
> > > NETWORKING_IPV6=no
> >
> > Unfortunately, both methods (the sleep one and the ipv6 ->  off one)
> > fail to solve the reported problem. However,
> >
> > # /sbin/service ntpd restart
> > Shutting down ntpd:                                        [  OK  ]
> > ntpd: Synchronizing with time server:                      [  OK  ]
> > Starting ntpd:                                             [  OK  ]
> > #
> ----
> you do know that you need to restart after shutting of ipv6 right?
>
> I think that restarting ntpd seemed to work from the start.

Yes, Craig, I did reboot the computer after having turned off ipv6,
but it did not solve the problem. It is rather strange that
'/sbin/service ntpd restart' works perfectly and that NTP cannot
synchronize with the server at booting.

Paul


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux