blathering about redhat ntp (was Re: [OpenAFS] Unable to authenticate to AFS ... )
steve rader
rader@ginseng.hep.wisc.edu
Wed, 11 Dec 2002 14:07:42 -0600
> Btw, if you put the ip addr of ntp server(s) in
/etc/ntp/step-tickers, stock rh7.2 ntp will automagically
> correct the time (even on systems with badly skewed clocks)
> at boot via ntpdate. Refer to /etc/rc.d/init.d/ntpd.
...more details about afs + ntpd under redhat, fwiw...
1) add -nosettime to the OPTIONS variable in /etc/sysconfig/afs so
afs doesn't adjust the system clock
2) get ntpd to start at boot redhat-style by changing about the
fifth line of /etc/rc.d/init.d/afs from
chkconfig: - 26 74
to
chkconfig: 345 26 74
and then doing
chkconfig --del ntpd
chkconfig --add ntpd
3) restart afs so afs isn't doing ntp and start vanilla ntp
/etc/rc.d/init.d/afs stop
/etc/rc.d/init.d/ntpd start
/etc/rc.d/init.d/afs start
steve
- - -