[ntp:questions] NTP unable to set clock

toby speedbird5918 at googlemail.com
Sat Jun 23 12:02:58 UTC 2007


Thanks for your help, I have tried changing the restrict statements
but I still get the same error. Here is the new conf file, without
comments :-)

restrict default kod nomodify notrap nopeer noquery

restrict 127.0.0.1

server 0.europe.pool.ntp.org iburst
server 1.europe.pool.ntp.org iburst
server 2.europe.pool.ntp.org iburst

driftfile /var/lib/ntp/drift

and again, here is the log:

[root at mail ~]# ntpd -d -q
ntpd 4.2.0a at 1.1196-r Thu May 11 09:19:35 EDT 2006 (1)
addto_syslog: ntpd 4.2.0a at 1.1196-r Thu May 11 09:19:35 EDT 2006 (1)
addto_syslog: precision = 3.000 usec
create_sockets(123)
bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=8
addto_syslog: Listening on interface wildcard, 0.0.0.0#123
bind() fd 5, family 10, port 123, addr ::, flags=0
addto_syslog: Listening on interface wildcard, ::#123
bind() fd 6, family 2, port 123, addr 127.0.0.1, flags=0
addto_syslog: Listening on interface lo, 127.0.0.1#123
bind() fd 7, family 2, port 123, addr 192.168.33.179, flags=8
addto_syslog: Listening on interface eth0, 192.168.33.179#123
init_io: maxactivefd 7
local_clock: time 0 clock 0.000000 offset 0.000000 freq 0.000 state 0
key_expire: at 0
peer_clear: at 0 assoc ID 30868 refid INIT
newpeer: 192.168.33.179->192.87.106.3 mode 3 vers 4 poll 6 10 flags
0x201 0x1 ttl 0 key 00000000
key_expire: at 0
peer_clear: at 0 assoc ID 30869 refid INIT
newpeer: 192.168.33.179->193.218.127.251 mode 3 vers 4 poll 6 10 flags
0x201 0x1 ttl 0 key 00000000
key_expire: at 0
peer_clear: at 0 assoc ID 30870 refid INIT
newpeer: 192.168.33.179->193.226.140.53 mode 3 vers 4 poll 6 10 flags
0x201 0x1 ttl 0 key 00000000
report_event: system event 'event_restart' (0x01) status 'sync_alarm,
sync_unspec, 1 event, event_unspec' (0xc010)
transmit: at 1 192.168.33.179->192.87.106.3 mode 3
auth_agekeys: at 1 keys 1 expired 0
timer: refresh ts 0
transmit: at 2 192.168.33.179->193.218.127.251 mode 3
transmit: at 3 192.168.33.179->193.226.140.53 mode 3
transmit: at 3 192.168.33.179->192.87.106.3 mode 3
transmit: at 4 192.168.33.179->193.218.127.251 mode 3
transmit: at 5 192.168.33.179->193.226.140.53 mode 3
transmit: at 5 192.168.33.179->192.87.106.3 mode 3
transmit: at 6 192.168.33.179->193.218.127.251 mode 3
transmit: at 7 192.168.33.179->193.226.140.53 mode 3
transmit: at 7 192.168.33.179->192.87.106.3 mode 3
transmit: at 8 192.168.33.179->193.218.127.251 mode 3
transmit: at 9 192.168.33.179->193.226.140.53 mode 3
transmit: at 9 192.168.33.179->192.87.106.3 mode 3
transmit: at 10 192.168.33.179->193.218.127.251 mode 3
transmit: at 11 192.168.33.179->193.226.140.53 mode 3
transmit: at 11 192.168.33.179->192.87.106.3 mode 3
transmit: at 12 192.168.33.179->193.218.127.251 mode 3
transmit: at 13 192.168.33.179->193.226.140.53 mode 3
transmit: at 13 192.168.33.179->192.87.106.3 mode 3
transmit: at 14 192.168.33.179->193.218.127.251 mode 3
transmit: at 15 192.168.33.179->193.226.140.53 mode 3
transmit: at 15 192.168.33.179->192.87.106.3 mode 3
transmit: at 16 192.168.33.179->193.218.127.251 mode 3
transmit: at 17 192.168.33.179->193.226.140.53 mode 3
addto_syslog: no reply; clock not set

Any more suggestions?

Thaks

Toby





More information about the questions mailing list