Re: Can't get Correct Time in Fedora 8



On Tue, Dec 23, 2008 at 07:32:44PM -0500, Todd Zullinger wrote:
Paul W. Frields wrote:
su - # provide root password
service ntpd stop
ntpdate 0.fedora.pool.ntp.org # or your server of choice
service ntpd start
exit

I presume you're stopping ntpd because otherwise ntpdate complains
that "the NTP socket is in use, exiting"?

To avoid that, just use the -u option to ntpdate and it will be able
to update while ntpd is running.

Good tip, thanks Todd!

--
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: pgpAXK0GAPN1R.pgp
Description: PGP signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Relevant Pages

  • Re: Xen virtual machines and ntp
    ... but dovecot kills itself when the time goes backwards ... You're running ntpdate periodically. ... Now, I run ntpdate once, and then I run service ntpd start ... This will keep ntp from having heart failure if the jump's too large. ...
    (RedHat)
  • Re: Cant get Correct Time in Fedora 8
    ... service ntpd start ... I presume you're stopping ntpd because otherwise ntpdate complains ...
    (Fedora)
  • Re: Time sync is foobar
    ... Steven Stern wrote: ... service ntpd start ... you don't have to stop ntpd to use ntpdate. ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: Xen virtual machines and ntp
    ... but dovecot kills itself when the time goes backwards ... You're running ntpdate periodically. ... ntp. ... Now, I run ntpdate once, and then I run service ntpd start ...
    (RedHat)