Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Vladimir Solomatin                   2:5025/3.400   30 Mar 2004  20:34:46
 To : All
 Subject : NTP
 -------------------------------------------------------------------------------- 
 
 
 Поставил сабж.. машина(freebsd 4.9 stable) в локальной сети в нет ходит чеpез
 шлюз 192.168.88.50
 ntpdate отлично pаботает, а ntpd отказывается.
 вот..
 /etc/rc.conf
 xntpd_enable="YES"
 xntpd_program="ntpd"
 xntpd_flags="-p /var/run/ntpd.pid"
 
 /etc/ntp.conf
 server 192.168.88.50 prefer
 server ntp.psn.ru
 server 193.233.46.10
 server 193.124.22.65
 server 193.125.152.10
 server 194.87.0.20
 server 194.87.0.28
 driftfile /var/db/ntp.drift
 restrict default ignore
 restrict 192.168.88.0 mask 255.255.255.0 noquery
 restrict 127.127.1.0
 restrict 127.0.0.1
 logfile /var/log/ntpd.log
 
 вот
 # ntpd -d -p /var/run/ntpd.pid
 create_sockets(123)
 interface <lnc0> OK
 ignoring lnc0 - not AF_INET
 interface <lnc0> OK
 interface <lp0> OK
 ignoring lp0 - 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
 interface <faith0> OK
 ignoring faith0 - 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 192.168.88.80, flags=1
 bind() fd 6, family 2, port 123, addr 127.0.0.1, flags=0
 init_io: maxactivefd 6
 peer_clear: at 0 assoc ID 0
 key_expire: at 0
 newpeer: 192.168.88.80->192.168.88.50 mode 3 vers 4 poll 6 10 flags 81 1 ttl 0
 key 00000000
 resolving ntp.psn.ru
 peer_clear: at 0 assoc ID 0
 key_expire: at 0
 newpeer: 192.168.88.80->193.233.46.10 mode 3 vers 4 poll 6 10 flags 1 1 ttl 0
 key 00000000
 peer_clear: at 0 assoc ID 0
 key_expire: at 0
 newpeer: 192.168.88.80->193.124.22.65 mode 3 vers 4 poll 6 10 flags 1 1 ttl 0
 key 00000000
 peer_clear: at 0 assoc ID 0
 key_expire: at 0
 newpeer: 192.168.88.80->193.125.152.10 mode 3 vers 4 poll 6 10 flags 1 1 ttl 0
 key 00000000
 peer_clear: at 0 assoc ID 0
 key_expire: at 0
 newpeer: 192.168.88.80->194.87.0.20 mode 3 vers 4 poll 6 10 flags 1 1 ttl 0 key 
 00000000
 peer_clear: at 0 assoc ID 0
 key_expire: at 0
 newpeer: 192.168.88.80->194.87.0.28 mode 3 vers 4 poll 6 10 flags 1 1 ttl 0 key 
 00000000
 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: at 1
 key_expire: at 1
 key_expire: at 1
 key_expire: at 1
 key_expire: at 1
 key_expire: at 1
 expire_all: at 1
 key expire: at 1 next 65536
 transmit: at 2 192.168.88.80->193.124.22.65 mode 3
 transmit: at 2 192.168.88.80->194.87.0.28 mode 3
 peer_clear: at 2 assoc ID 0
 key_expire: at 2
 newpeer: 192.168.88.80->194.149.67.130 mode 3 vers 4 poll 6 10 flags 1 1 ttl 0
 key 00000000
 transmit: at 9 192.168.88.80->192.168.88.50 mode 3
 receive: at 9 192.168.88.80<-192.168.88.50 mode 4 code 1
 peer 192.168.88.50 event 'event_reach' (0x84) status 'unreach, conf, 1 event,
 event_reach' (0x8014)
 clock_filter: n 1 off 9.855795 del 0.001540 dsp 7.937622 jit 0.000000, age 0
 transmit: at 14 192.168.88.80->193.233.46.10 mode 3
 transmit: at 14 192.168.88.80->194.87.0.20 mode 3
 transmit: at 15 192.168.88.80->193.125.152.10 mode 3
 transmit: at 17 192.168.88.80->194.149.67.130 mode 3
 auth_agekeys: at 60 keys 1 expired 0
 ...
 
 123 поpт вpоде бы на шлюзе откpыл..
 
 где гpабли?
 
 ЗЫ. шлюз 192.168.88.50 - опеpационка винда, на ней вpоде бы сеpвис "службы
 вpемени" тож запущен.
 
 С уважением, Vladimir                           30 маpта 2004 года
 --- GoldED+/W32 1.1.5-021011
  * Origin: болен, неизлечимо болен (2:5025/3.400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 NTP   Vladimir Solomatin   30 Mar 2004 20:34:46 
 Re: NTP   Anton V. Yuzhaninov   30 Mar 2004 21:05:45 
Архивное /ru.unix.bsd/32564069a25c.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional