PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : NTP-Server hat Stratum 16



Fadh
05.10.06, 17:01
Tag,

ich hab 2 Debian-Rechner bei mir zuhause im Netzwerk.
Auf dem ersten habe ich ntp-server installiert und die ntp.conf folgendermaßen verändert:


# /etc/ntp.conf, configuration for ntpd

# ntpd will use syslog() if logfile is not defined
#logfile /var/log/ntp/ntpd
#driftfile /var/log/ntp/drift
#statsdir /var/log/ntp/stats/


# you need one or more servers
server de.pool.ntp.org
server pool.ntp.org

# ... and use the local system clock as a reference if all else fails
# NOTE: in a local network, set the local stratum of *one* stable server
# to 10; otherwise your clocks will drift apart if you lose connectivity.
server 127.127.1.1
fudge 127.127.1.1 stratum 8

# set restrictions
restrict de.pool.ntp.org
restrict pool.ntp.org
restrict 127.127.1.1
restrict 127.0.0.1
restrict 192.168.1.0 mask 255.255.255.0 nomodify
restrict default kod notrap nomodify nopeer noquery

# disables critical procedure of athentication
disable auth


In der syslog sehe ich auch wie der ntp-server synchronisiert ist:

Oct 5 16:52:26 localhost ntpd[21973]: synchronized to 85.25.144.154, stratum 2


ntpq -p zeigt mir auch alles super an:

ntpq -p localhost
remote refid st t when poll reach delay offset jitter
================================================== ============================
*tor.thelow.ath. 192.53.103.108 2 u 47 64 377 41.865 1.417 110.896
+thor.midhgard.i 146.48.83.182 3 u 40 64 377 78.423 -3.229 155.107
LOCAL(1) LOCAL(1) 8 l 44 64 377 0.000 0.000 0.002



Wenn ich jetzt aber von meiner 2. Server (den ich mittels ntpdate auch mit dem gleichen Zeitserver im Netz testweise synchronisiert habe) auf meinen eigenen Timeserver zugreifen will bekomme ich folgendes:


ntpdate -d 192.168.1.23
5 Oct 16:53:52 ntpdate[7354]: ntpdate 4.2.0a@1:4.2.0a+stable-2-r Fri Aug 26 10:30:13 UTC 2005 (1)
transmit(192.168.1.23)
receive(192.168.1.23)
transmit(192.168.1.23)
receive(192.168.1.23)
transmit(192.168.1.23)
receive(192.168.1.23)
transmit(192.168.1.23)
receive(192.168.1.23)
transmit(192.168.1.23)
192.168.1.23: Server dropped: strata too high
server 192.168.1.23, port 123
stratum 16, precision -19, leap 11, trust 000
refid [192.168.1.23], delay 0.02797, dispersion 0.00139
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 7:28:16.000
originate timestamp: c8cf9b05.774f93bc Thu, Oct 5 2006 16:53:57.466
transmit timestamp: c8cf9b00.c0bb4d48 Thu, Oct 5 2006 16:53:52.752
filter delay: 0.02797 0.02866 0.02896 0.02913
0.00000 0.00000 0.00000 0.00000
filter offset: 4.715418 4.714628 4.713456 4.711394
0.000000 0.000000 0.000000 0.000000
delay 0.02797, dispersion 0.00139
offset 4.715418

5 Oct 16:53:52 ntpdate[7354]: no server suitable for synchronization found


Ich komme nicht mehr weiter. Warum sieht mein zweiter rechner meinen Timeserver als Strtum 16???

Bin für jede Hilfe dankbar.

fadh

Thorashh
05.10.06, 17:12
ntp.conf
server 127.127.1.0
fudge 127.127.1.0 stratum 12

Fadh
06.10.06, 08:28
Morgen,

also am morgen danach funktionierts auf einmal wunderbar. Ich hab dem ntp-server vorraussichtlich nicht genug Zeit gelassen sich richtig zu synchronisieren.

Tschuldigung

Fadh