problem s NTPD

Tomas TPS Ulej tps at tps.sk
Fri May 11 23:20:15 CEST 2001


Nedari sa mi na FreeBSD r4.2 rozbehat NTPD :( mate niekto skusenost s?

ked spustim daemon:

root@[SCREEN0.ns /root] # ntpd -d
create_sockets(123)
interface <fxp0> OK
ignoring fxp0 - not AF_INET
interface <fxp0> OK
interface <fxp0> OK
ignoring fxp0 - not AF_INET
interface <lp0> OK
ignoring lp0 - not AF_INET
interface <faith0> OK
ignoring faith0 - not AF_INET
interface <gif0> OK
ignoring gif0 - not AF_INET
interface <gif1> OK
ignoring gif1 - not AF_INET
interface <gif2> OK
ignoring gif2 - not AF_INET
interface <gif3> OK
ignoring gif3 - not AF_INET
interface <lo0> OK
ignoring lo0 - not AF_INET
interface <lo0> OK
ignoring lo0 - not AF_INET
interface <lo0> OK
ignoring lo0 - not AF_INET
interface <lo0> OK
interface <ppp0> OK
ignoring ppp0 - not AF_INET
interface <sl0> OK
ignoring sl0 - not AF_INET
bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=1
bind() fd 5, family 2, port 123, addr 195.80.171.4, flags=1
bind() fd 6, family 2, port 123, addr 127.0.0.1, flags=0
init_io: maxactivefd 6
resolving ntps1-0.uni-erlangen.de
resolving ntp2.nl.net
report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
auth_agekeys: at 1 keys 1 expired 0
key_expire_all: at 1 private 548d3276
peer_config: 131.188.3.89 mode 3 vers 4 min 6 max 10 flags 0x0081 ttl 0 key 0
peer_config: 193.79.237.30 mode 3 vers 4 min 6 max 10 flags 0x0001 ttl 0 key 0
transmit: at 18 to 131.188.3.89 mode 3
receive: at 18 from 131.188.3.89 mode 4
peer 131.188.3.89 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
clock_filter: offset -0.132283 delay 0.049725 disp 7.937508 std 0.123739, age 0
transmit: at 19 to 193.79.237.30 mode 3
receive: at 19 from 193.79.237.30 mode 4
peer 193.79.237.30 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
clock_filter: offset 0.021367 delay 0.068292 disp 7.937501 std 0.019987, age 0

ked tam poslem ntptrace:

root@[SCREEN0.t0uch /root] # ntptrace ns.slovanet.net
ns.slovanet.net: stratum 16, offset -2.314222, synch distance 0.00060
0.0.0.0:        *Timeout*

a na serveri sa objavi:

receive: at 40 from 195.168.3.226 mode 3
transmit: at 40 to 195.168.3.226 mode 4
auth_agekeys: at 60 keys 1 expired 0

config:

root@[SCREEN0.ns /root] # more /etc/ntp.conf
server ntps1-0.uni-erlangen.de prefer
server ntp2.nl.net
root@[SCREEN0.ns /root] # 

Nejake napady?

--
TPS





More information about the Users-l mailing list