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

Re: Can't get Correct Time in Fedora 8



On Wed, Dec 24, 2008 at 10:41:50AM +1030, Tim wrote:
> On Tue, 2008-12-23 at 18:38 -0500, Jim wrote:
> > Dec 21 12:41:34 x86_64 ntpd[1906]: getaddrinfo: "0.fedora.pool.ntp.org" invalid host address, ignored
> > Dec 21 12:41:34 x86_64 ntpd[1906]: getaddrinfo: "1.fedora.pool.ntp.org" invalid host address, ignored
> > Dec 21 12:41:34 x86_64 ntpd[1906]: getaddrinfo: "2.fedora.pool.ntp.org" invalid host address, ignored
> 
> Are you using NetworkManager to handle your network?  In Fedora 9 I
> found that NTPD was started before the network was brought up, and NTPD
> never tried again after the network came to life.  There were at least
> two solutions:
> 
>      1. Stop using NetworkManager (use the network service, instead).
>      2. Restart NTPD after the network's alive (add a script for the
>         power management daemon).

In that case, to fix this, you can probably run system-config-time
and, under the NTP tab, and Advanced Options, turn off the option
labeled "Synchronize clock when system starts."

To make sure that the clock is relatively in sync for the future
without having to take a long time for the skew to be resolved, you
can do this:

su -                                # provide root password
service ntpd stop
ntpdate 0.fedora.pool.ntp.org       # or your server of choice
service ntpd start
exit

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

Attachment: pgpQmMPnqRWNB.pgp
Description: PGP signature


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