statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
# You do need to talk to an NTP server or two (or three).
# By default, exchange time with everybody, but don't allow configuration.
# See /usr/share/doc/ntp-doc/html/accopt.html for details.
restrict default kod notrap nomodify nopeer noquery
# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1 nomodify
# Clients from this (example!) subnet have unlimited access,
# but only if cryptographically authenticated
#restrict 192.168.123.0 mask 255.255.255.0 notrust
# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255
# If you want to listen to time broadcasts on your local subnet,
# de-comment the next lines. Please do this only if you trust everybody
# on the network!
#disable auth
#broadcastclient
server 0.europe.pool.ntp.org
server 1.europe.pool.ntp.org
server 2.europe.pool.ntp.org
server 3.europe.pool.ntp.org
### PASTE END ###
(Yes, I do not use ntp.ubuntu.com, but it does create the same problem)
Ok here are my logs and ntp stats:
$ hwclock && date
Mon 28 May 2007 05:06:26 PM CEST -0.164175 seconds
Mon May 28 17:24:50 CEST 2007
my /etc/ntp.conf:
### PASTE START ###
# /etc/ntp.conf, configuration for ntpd
driftfile /var/lib/ ntp/ntp. drift
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
# You do need to talk to an NTP server or two (or three).
# By default, exchange time with everybody, but don't allow configuration. doc/ntp- doc/html/ accopt. html for details.
# See /usr/share/
restrict default kod notrap nomodify nopeer noquery
# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1 nomodify
# Clients from this (example!) subnet have unlimited access,
# but only if cryptographically authenticated
#restrict 192.168.123.0 mask 255.255.255.0 notrust
# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255
# If you want to listen to time broadcasts on your local subnet, pool.ntp. org pool.ntp. org pool.ntp. org pool.ntp. org
# de-comment the next lines. Please do this only if you trust everybody
# on the network!
#disable auth
#broadcastclient
server 0.europe.
server 1.europe.
server 2.europe.
server 3.europe.
### PASTE END ###
(Yes, I do not use ntp.ubuntu.com, but it does create the same problem)
attached are: ntp/ntp. drift ntpstats/ peerstats ntpstats/ loopstats
/var/lib/
/var/log/
/var/log/
I hope this is enough :)
P.S. If it matters, I haven't upgraded to the new 2.6.20.16.28.1 kernel yet.