Re: time/ntp[d]

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

 



---- michael <cs@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: 
> It seems my clock is losing time but yet I have 'enable Network Time
> Protocol' enabled and set to a local time machine. If I
> 
> 	sudo /etc/init.d/ntpd stop
> 	sudo /usr/sbin/ntpdate 130.88.200.6
> 
> then it resets it to the correct time, so how come it's losing time? 
> 
> I was expecting to see stats in /var/log/ntpstats (as per my Debian box)
> but that dir doesn't exist on this Fed box...
> 
> Any ideas folks? Ta, M

Check the options in your ntpd command. From the man page:
-s statsdir
               Specify the directory path for files created by the statistics facility. This is the same operation as the statsdir statsdir configuration command.

In my F9 setup, ntpd runs like this: 
# ps -ef | grep ntpd
ntp       3350     1  0 08:59 ?        00:00:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g

ie no -s option do I don't see any stats in /var/log/ntpstats either. You can change the options by editing /etc/sysconfig/ntpd

While ntpd is running, try ntpq -p from the command line which should tell you which peers ntp is talking to or maybe not talking to.

HTH,
Steve

PS. 
> 	sudo /etc/init.d/ntpd stop
> 	sudo /usr/sbin/ntpdate 130.88.200.6
You did retstart ntpd, righ?

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux