FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 02-04-2012, 10:30 PM
Patrick Dupre
 
Default ntpd

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.

--
---
================================================== ========================
Patrick DUPRÉ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: patrick.dupre@york.ac.uk
================================================== ========================--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-04-2012, 10:37 PM
Kevin Martin
 
Default ntpd

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



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-05-2012, 01:15 AM
Fred Erickson
 
Default ntpd

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

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-05-2012, 02:53 AM
Kevin Martin
 
Default ntpd

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
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 12:21 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org