WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 24.11.2003, 00:57   #1
boo
Master
 
Registriert seit: 17.08.2001
Beiträge: 578


Standard ntpdate Debian/SuSE

Hi,

Kanns sein, dass der ntp-Server von Debian Woody (1:4.1.0-8) den Client von SuSE (4.1.1-261 / 4.1.1-286) nicht syncen lässt?

In V4 NTP sollte ntpdate ja gar net mehr vorkommen,
however, SuSE macht per default bekanntlich bei jedem Start des xntp ein "ntpdate".

Sowas müsste mit tcpdump -i eth0 port 123 zu fangen sein.
(Ich hätt immer gedacht, dass ntpdate tcp is, aber wie ma sich so irren kann ...)

Also mach ich:
ntpdate martha
23 Nov 23:07:05 ntpdate[13263]: no server suitable for synchronization found

Die Packln kommen an, und es geht auch was zrück:

23:10:54.224957 192.168.1.254.ntp > martha.ntp: v4 client strat 0 poll 6 prec -16 (DF) [tos 0x10]
0x0000 4510 004c 303b 4000 4011 85a3 c0a8 01fe E..L0;@.@.......
0x0010 c0a8 0164 007b 007b 0038 812f e300 06f0 ...d.{.{.8./....
0x0020 0000 0000 0000 00c3 0000 0000 0000 0000 ................
0x0030 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0040 0000 0000 c36b bdc3 05df 86e3 .....k......
23:10:54.225182 martha.ntp > 192.168.1.254.ntp: v4 server strat 0 poll 6 prec -16 (DF) [tos 0x10]
0x0000 4510 004c 0000 4000 4011 b5de c0a8 0164 E..L..@.@......d
0x0010 c0a8 01fe 007b 007b 0038 769f e400 06f0 .....{.{.8v.....
0x0020 0000 0000 0000 0b80 0000 0000 0000 0000 ................
0x0030 0000 0000 c36b bdc3 05df 86e3 c36b aeee .....k.......k..
0x0040 399e 6256 c36b aeee 39a1 4488 9.bV.k..9.D.

... das schaut auf beiden Seiten so aus.

Im ntp.log / syslog steht nix Aufregendes.
logconfig=all steht in meiner ntp.conf
Eigentlich sollt er so alles mitschreiben, tut er aber nicht

Beim Start des Servers in ntp.log:
23 Nov 23:47:18 ntpd[496]: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
23 Nov 23:47:18 ntpd[497]: signal_no_reset: signal 17 had flags 4000000

... und syslog:
Nov 23 23:47:18 martha ntpd[496]: ntpd 4.1.0 Mon Mar 25 23:39:47 UTC 2002 (2)
Nov 23 23:47:18 martha ntpd[496]: signal_no_reset: signal 13 had flags 4000000
Nov 23 23:47:18 martha ntpd[496]: precision = 13 usec
Nov 23 23:47:18 martha ntpd[496]: kernel time discipline status 0040
Nov 23 23:47:18 martha ntpd[496]: attempt to configure invalid address 127.127.1.0
Nov 23 23:47:18 martha ntpd[496]: frequency initialized 0.000 from /var/lib/ntp/ntp.drift

Am Client (SuSE) isses ähnlich ...

Der normale ntp-sync funktioniert scheinbar:

ntpdc> peers
remote local st poll reach delay offset disp
================================================== =====================
=LOCAL(0) 127.0.0.1 10 64 1 0.00000 0.000000 7.93750
=martha 5.0.0.0 16 64 0 0.00000 0.000000 0.00000
ntpdc> pstat martha
remote host: martha
local interface: 192.168.1.34
time last received: 3s
time until next send: 62s
reachability change: 16s



Es gibt übrigends (für mich jedenfalls neu) endlich ein ntp-HQ mit einer kurzen URL: http://www.ntp.org/ - auch die Doku ist da deutlich umfangreicher als früher ...
____________________________________
lg, boo

~ GNU/Linux - there is no substitute! ~
boo ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 09:46 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag