Hello,
When I run system-config-services, ntpd does not show up (and does not run), but if I do service ntpd start then it shows up in the list of service. How can I make it run automatically after a reboot?
Thank.
On 02/04/2012 05:30 PM, Patrick Dupre wrote:
Hello,
When I run system-config-services, ntpd does not show up (and does not run), but if I do service ntpd start then it shows up in the list of service. How can I make it run automatically after a reboot?
Thank.
What version of Fedora? You'll either need to do a "chkconfig --level 35 ntpd on" or a "systemctl enable ntpd.service" to get it to restart at reboot time.
Kevin
On Sat, 2012-02-04 at 17:37 -0600, Kevin Martin wrote:
On 02/04/2012 05:30 PM, Patrick Dupre wrote:
Hello,
When I run system-config-services, ntpd does not show up (and does not run), but if I do service ntpd start then it shows up in the list of service. How can I make it run automatically after a reboot?
Thank.
What version of Fedora? You'll either need to do a "chkconfig --level 35 ntpd on" or a "systemctl enable ntpd.service" to get it to restart at reboot time.
Kevin
Unless you're doing something other than keeping your computer time synced, and are using f16, doesn't chrony handle that now? [fred@athbox ~]$ uname -r 3.2.2-1.fc16.i686 [fred@athbox ~]$ ps -ef | grep chrony chrony 1004 1 0 09:38 ? 00:00:00 /usr/sbin/chronyd -u chrony fred 10045 9896 0 16:56 pts/2 00:00:00 grep --color=auto chrony
sudo cat /var/log/messages | grep chrony Feb 4 00:38:49 athbox chronyd[1004]: chronyd version 1.26-20110831gitb088b7 starting Feb 4 00:38:49 athbox chronyd[1004]: Linux kernel major=3 minor=2 patch=2 Feb 4 00:38:49 athbox chronyd[1004]: hz=100 shift_hz=7 freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000 Feb 4 00:38:49 athbox chronyd[1004]: Frequency 41.161 +- 0.957 ppm read from /var/lib/chrony/drift Feb 4 09:39:24 athbox chronyd[1004]: Selected source 66.228.35.252 Feb 4 09:39:24 athbox chronyd[1004]: System clock wrong by 32401.599485 seconds, adjustment started Feb 4 09:39:24 athbox chronyd[1004]: System clock was stepped by 32401.599 seconds
Keeping in mind that I know very little about which I'm speaking...Fred
On 02/04/2012 08:15 PM, Fred Erickson wrote:
On Sat, 2012-02-04 at 17:37 -0600, Kevin Martin wrote:
On 02/04/2012 05:30 PM, Patrick Dupre wrote:
Hello,
When I run system-config-services, ntpd does not show up (and does not run), but if I do service ntpd start then it shows up in the list of service. How can I make it run automatically after a reboot?
Thank.
What version of Fedora? You'll either need to do a "chkconfig --level 35 ntpd on" or a "systemctl enable ntpd.service" to get it to restart at reboot time.
Kevin
Unless you're doing something other than keeping your computer time synced, and are using f16, doesn't chrony handle that now? [fred@athbox ~]$ uname -r 3.2.2-1.fc16.i686 [fred@athbox ~]$ ps -ef | grep chrony chrony 1004 1 0 09:38 ? 00:00:00 /usr/sbin/chronyd -u chrony fred 10045 9896 0 16:56 pts/2 00:00:00 grep --color=auto chrony
sudo cat /var/log/messages | grep chrony Feb 4 00:38:49 athbox chronyd[1004]: chronyd version 1.26-20110831gitb088b7 starting Feb 4 00:38:49 athbox chronyd[1004]: Linux kernel major=3 minor=2 patch=2 Feb 4 00:38:49 athbox chronyd[1004]: hz=100 shift_hz=7 freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000 Feb 4 00:38:49 athbox chronyd[1004]: Frequency 41.161 +- 0.957 ppm read from /var/lib/chrony/drift Feb 4 09:39:24 athbox chronyd[1004]: Selected source 66.228.35.252 Feb 4 09:39:24 athbox chronyd[1004]: System clock wrong by 32401.599485 seconds, adjustment started Feb 4 09:39:24 athbox chronyd[1004]: System clock was stepped by 32401.599 seconds
Keeping in mind that I know very little about which I'm speaking...Fred
That, I believe, is correct if you installed F16 cleanly. If you've done an upgrade from a previous Fedora version then ntp will still, most likely, be used.
Kevin