NTP fails synchronization with server at startup
Craig White
craigwhite at azapple.com
Wed Dec 5 02:08:21 UTC 2007
On Wed, 2007-12-05 at 02:03 +0000, Paul Smith wrote:
> On Dec 5, 2007 1:51 AM, Craig White <craigwhite at azapple.com> 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.
Craig
More information about the fedora-list
mailing list