On Wed, 2008-08-06 at 09:14 -0400, Steve wrote:
> ---- michael <[EMAIL PROTECTED]> 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

I don't see '-s' when do that cmd on my Debian box but that does still
create the ntp stats...


> 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.
> 

strange:

[EMAIL PROTECTED]:~$ sudo su
[EMAIL PROTECTED] mkb]# /usr/sbin/ntpq -p
/usr/sbin/ntpq: read: Connection refused



> 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@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Reply via email to