Peter Humphrey wrote:
On Friday 07 January 2011 22:48:27 Dale wrote:
Any other ideas?
You could still try chrony.
Success !!!!!! Check this out:
r...@fireball / # ntpdate -b -u -q pool.ntp.org
server 169.229.70.183, stratum 3, offset 0.009525, delay 0.12221
server 216.45.57.38, stratum 2, offset 0.000842, delay 0.12035
server 63.211.239.58, stratum 2, offset 0.009992, delay 0.09676
8 Jan 15:39:49 ntpdate[7402]: step time server 63.211.239.58 offset
0.009992 sec
r...@fireball / #
Now, with ntp, it logs to messages when it syncs, resets the clock and
such. Does chrony do this somewhere too? I have this in my conf file:
server 64.6.144.6
server 67.159.5.90
server 67.59.168.233
server 204.62.14.98
server 69.50.219.51
server 209.114.111.1
driftfile /etc/chrony.drift
logdir /var/log/chrony
I would think it would be either in messages or in /var/log/chrony but
so far nothing is in there. This is from messages:
r...@fireball / # cat /var/log/messages | grep chron | tail -n 50
Jan 8 03:16:52 localhost chronyd[21986]: chronyd exiting on signal
Jan 8 03:16:53 localhost chronyd[23021]: chronyd version 1.24 starting
Jan 8 03:16:53 localhost chronyd[23021]: Initial txc.tick=10006
txc.freq=94656 (1.44433594) txc.offset=0 => hz=100 shift_hz=7
Jan 8 03:16:53 localhost chronyd[23021]: set_config_hz=0 hz=100
shift_hz=7 basic_freq_scale=1.28000000 nominal_tick=10000
slew_delta_tick=833 max_tick_bias=1000
Jan 8 03:16:53 localhost chronyd[23021]: Linux kernel major=2 minor=6
patch=36
Jan 8 03:16:53 localhost chronyd[23021]:
calculated_freq_scale=1.00000000 freq_scale=1.00000000
Jan 8 03:19:03 localhost chronyd[23021]: Selected source 64.6.144.6
Jan 8 15:24:56 localhost chronyd[23021]: chronyd exiting on signal
Jan 8 15:24:56 localhost chronyd[1632]: chronyd version 1.24 starting
Jan 8 15:24:56 localhost chronyd[1632]: Initial txc.tick=10011
txc.freq=2399519 (36.61375427) txc.offset=0 => hz=100 shift_hz=7
Jan 8 15:24:56 localhost chronyd[1632]: set_config_hz=0 hz=100
shift_hz=7 basic_freq_scale=1.28000000 nominal_tick=10000
slew_delta_tick=833 max_tick_bias=1000
Jan 8 15:24:56 localhost chronyd[1632]: Linux kernel major=2 minor=6
patch=36
Jan 8 15:24:56 localhost chronyd[1632]:
calculated_freq_scale=1.00000000 freq_scale=1.00000000
Jan 8 15:27:07 localhost chronyd[1632]: Selected source 64.6.144.6
r...@fireball / #
Ideas? I miss something somewhere? Do I have to create a file for it
to log to as well?
Dale
:-) :-)
P. S. I wonder why ntp and openntp didn't work?