[mythtv-users] NTP issue - time drifting, ntpd crashing?
duckeo
duckeo at gmail.com
Fri Jan 13 08:41:18 UTC 2006
Hi
Been fiddling with ntpd on my slackware 10.0 box for a while now but it
constantly seems to be freezing and allowing the time to drift
significantly.
root at mythtv:/home/mythtv# uname -a
Linux mythtv 2.6.12.3-mythtv #3 Tue Jul 26 23:03:30 EST 2005 i686 unknown
unknown GNU/Linux
---
root at mythtv:/home/mythtv# cat /etc/ntp.conf
# Sample /etc/ntp.conf: Configuration file for ntpd.
#
logfile /var/log/ntpd.log
server ntp.iinet.net.au
server ntp.nsw.westnet.com.au
server time.deakin.edu.au
server ntp0.cs.mu.OZ.AU
server ntp1.cs.mu.OZ.AU
server au.pool.ntp.org
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp/drift
multicastclient # listen on default 224.0.1.1
broadcastdelay 0.008
#
# Keys file. If you want to diddle your server at run time, make a
# keys file (mode 600 for sure) and define the key number to be
# used for making requests.
# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
# systems might be able to reset your clock at will.
#
#keys /etc/ntp/keys
#trustedkey 65535
#requestkey 65535
#controlkey 65535
# Don't serve time or stats or trust anyone else by default (more secure)
restrict default noquery notrust nomodify
# Trust ourselves. :-)
restrict 127.0.0.1
---
I am starting ntpd up from /etc/rc.d/rc.local with:
# start up ntpd
ntpdate dns.iinet.net.au
/usr/sbin/ntpd
When ntpd first starts up, the log file registers:
6 Jan 01:10:53 ntpd[2597]: frequency initialized 0.000 PPM from
/etc/ntp/drift
but there are no log entries after that date.
ntpd seems to be running still:
root at mythtv:/etc/rc.d# ps aux | grep ntpd
root 2620 0.0 0.7 3640 3636 ? SLs Jan06 1:23
/usr/sbin/ntpd
root 10970 0.0 0.1 1772 624 pts/1 S+ 19:29 0:00 grep ntpd
is SLs it's normal running state? I'm not sure...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060113/d22bf500/attachment.htm
More information about the mythtv-users
mailing list