ntpd

Jozef Drahovsky FreeBSDcz at jozef.drahovsky.sk
Mon Aug 13 23:25:12 CEST 2007


Trapim sa s ntpd a takmer bezvysledne

ak robim nanho  z ineho pocitaca ntpdate tak mi neposkytne cas
ale sam sa nastartuje aj zosynchronizuje
viet poradit preco neposkytuje sluzbu ntp?
kde robim chybu, co som zabudol nastavit?

Jozef

ws# ntpdate -v 10.10.10.10
13 Aug 21:54:33 ntpdate[3260]: ntpdate 4.2.0-a Sun May  8 06:01:26 UTC 
2005 (1)
Looking for host 10.10.10.10 and service ntp
host found : xxxxxxxxx.sk
13 Aug 21:54:34 ntpdate[3260]: no server suitable for synchronization found

freebsd#cat rc.conf
ntpd_enable="YES"

freebsd#cat ntp.conf
server a.b.c.e
server d.e.f.g

freebsd# ps ax-ax | grep ntpd
707  ??  Ss     0:00.10 /usr/sbin/ntpd -c /etc/ntp.conf -p 
/var/run/ntpd.pid

freebsd# ntpdq -p
     remote           refid      st t when poll reach   delay   offset  
jitter
=================================================
 ntp.t-com.sk    .PPS.            1 u    9   64    1    7.463    6.606   
0.002
 pils.linux-kern dd.dd.dd.dd      3 u    8   64    1   38.270    8.158   
0.002


fw# sockstat
root     ntpd       707   3  dgram  -> /var/run/log
root     ntpd       707   4  udp4   *:123                 *:*
root     ntpd       707   5  udp4   xx.xx.xx.xx:123     *:*
root     ntpd       707   6  udp4   yy.yy.yy.yy:123        *:*
root     ntpd       707   7  udp4   cc.cc.cc.cc:123      *:*
root     ntpd       707   8  udp4   127.0.0.1:123         *:*





More information about the Users-l mailing list