Configure Network Time Protocol (NTP) Daemon

This can also be configured during the Fedora installation process during the final installation configuration steps.

See Installing Fedora Core 4 on Node


Login as root and verify your clock settings.

Also check the file /etc/localtime. It should be a link to the appropriate timezone file.

Backup your current ntp config file.

Create a new /etc/ntp.conf file using these settings.

Start or restart the ntp daemon with

then you can check the results with

It will take 3-4 mins to kick in, if your jitter value is 4000 that means it hasn't worked, also confirm by checking your server's local time with.

Reset your Linux system clock

If the system date is way off then it could take NTP a long time for it to correc the time. Synchronize your system date with an accurate external time source using ntpdate. At a command prompt, type:

If you do not have NTP installed, but your PC has an Internet connection available, you can reset the system date by synchronizing it with another host using rdate. At a command prompt, type:

Synchronize internal hardware clock

After you've checked that your Linux system clock's date and time is correct, it is a good idea to then synchronize your PC's internal hardware clock with this same date and time. At a command prompt, type:

Problems with Hardware Clock

If during shutdown and startup you get an error [Failed] then try the following.

If

does not work but

works, then add a

CLOCKFLAGS=--directisa

line to the /etc/sysconfig/clock file. Look at /etc/rc.d/init.d/halt at around line 115 to see how that works.


For more details on the NTP servers see

Configure NTP OLD (last edited 2011-04-25 16:41:13 by Bryce Camp)