Mailinglist Archive: opensuse-de (2058 mails)

< Previous Next >
Re: NTP-Dämon startet beim Booten nicht
  • From: "Christian Pubanz (GMX)" <christianpubanz_de@xxxxxxx>
  • Date: Wed, 24 Oct 2007 18:22:16 +0200
  • Message-id: <200710241822.17260.christianpubanz_de@xxxxxxx>
Am Mittwoch, 24. Oktober 2007 09:55:23 schrieb Kyek, Andreas, VF-DE:
Hallo Andreas,
danke für deine Rückmeldung!
Fahre deinen ntp mal runter; stelle deine PC Uhr richtig;
dazu kann man AFAIK "ntpd -q" benutzen; auch hier wieder die
Ausgabe in /var/log/ntp beachten.

lösche
deine Drift-Datei (hier: /var/lib/ntp/drift/ntp.drift) und starte
den ntp wieder.

Ferner würde ich empfehlen, mehr als einen Timeserver zu benutzen;
ich habe hier
--- cut here ---
server 0.de.pool.ntp.org
server 1.de.pool.ntp.org
server 2.de.pool.ntp.org
server 3.de.pool.ntp.org
--- cut here ---

und KEINE Probleme mit dem ntp; weder beim starten noch beim Abgleich.

Beobachte dann mal in /var/log/ntp, was er so in der nächsten Zeit
treibt. (Bis zum Abgleich kann einige Zeit vergehen; dann sollte aber
eine Meldung der Art "synchronized to ..." auftauchen)
Ich bin ganz genau nach deiner Anleitung vorgegangen-hat aber nichts gebracht.
Ich vermute nach ein wenig Googlen das Problem woanders:

Habe inzwischen die pool.ntp-server durch die Zeitserver der PTB in
Braunschweig (Atomuhr) testweise ersetzt, sowie die Linux-Firewall
ausgeschaltet. Nun erscheint in der NTP-Log Datei aber folgendes:

24 Oct 17:15:18 ntpd[2935]: Listening on interface #6 eth0,
fe80::230:5ff:fe21:53e6#123 Enabled
24 Oct 17:18:29 ntpd[2935]: synchronized to LOCAL(0), stratum 10
24 Oct 17:18:29 ntpd[2935]: kernel time sync status change 0001
24 Oct 17:19:31 ntpd[2935]: ntpd exiting on signal 15
24 Oct 17:21:02 ntpd[2820]: bind() fd 21, family 10, port 123, scope 2, addr
fe80::230:5ff:fe21:53e6, in6_is_addr_multicast=0 flags=0x11 fails: Cannot
assign requested address
24 Oct 17:21:02 ntpd[2820]: unable to create socket on eth0 (6) for
fe80::230:5ff:fe21:53e6#123
24 Oct 17:21:02 ntpd[2820]: failed to initialize interface for address
fe80::230:5ff:fe21:53e6
24 Oct 17:24:14 ntpd[2820]: synchronized to LOCAL(0), stratum 10
24 Oct 17:24:14 ntpd[2820]: kernel time sync status change 0001
24 Oct 17:26:02 ntpd[2820]: Listening on interface #7 eth0,
fe80::230:5ff:fe21:53e6#123 Enabled

Besonders die Zeile
24 Oct 17:24:14 ntpd[2820]: synchronized to LOCAL(0), stratum 10
macht mich stutzig! "Stratum 10" bedeutet ja (laut Google) "schlechte
Verbindung". Also stimmt irgendwas mit meiner Verbindung nicht. Dabei haben
wir hier DSL und der Router läuft Tag und Nacht! Das verstehe ich einfach
nicht!

Anbei noch die gesamte NTP-Log Datei.

Wer kann in Bezug auf "Stratum 10" noch etwas geistreiches beisteuern?

Grüße, Christian
23 Oct 14:10:25 ntpd[3688]: synchronized to LOCAL(0), stratum 10
23 Oct 14:10:25 ntpd[3688]: kernel time sync status change 0001
23 Oct 14:11:02 ntpd[3688]: ntpd exiting on signal 15
23 Oct 14:12:07 ntpd[3906]: ntpd exiting on signal 15
23 Oct 14:12:43 ntpd[3955]: ntpd exiting on signal 15
23 Oct 14:17:26 ntpd[2934]: synchronized to LOCAL(0), stratum 10
23 Oct 14:17:26 ntpd[2934]: kernel time sync status change 0001
23 Oct 15:00:43 ntpd[2934]: ntpd exiting on signal 15
23 Oct 16:02:39 ntpd[2975]: synchronized to LOCAL(0), stratum 10
23 Oct 16:02:39 ntpd[2975]: kernel time sync status change 0001
23 Oct 23:59:46 ntpd[2975]: ntpd exiting on signal 15
24 Oct 09:09:35 ntpd[3011]: synchronized to LOCAL(0), stratum 10
24 Oct 09:09:35 ntpd[3011]: kernel time sync status change 0001
24 Oct 10:11:17 ntpd[3011]: ntpd exiting on signal 15
24 Oct 10:11:48 ntpd[4158]: synchronized to 213.239.197.201, stratum 2
24 Oct 10:09:08 ntpd[4158]: time reset -160.165216 s
24 Oct 10:17:38 ntpd[4223]: synchronized to LOCAL(0), stratum 10
24 Oct 10:17:38 ntpd[4223]: kernel time sync status change 0001
24 Oct 10:18:21 ntpd[4223]: ntpd exiting on signal 15
24 Oct 10:19:52 ntpd[2864]: Cannot find existing interface for address
213.239.197.201
24 Oct 10:19:52 ntpd[2864]: configuration of 213.239.197.201 failed
24 Oct 10:19:53 ntpd[2864]: ntpd exiting on signal 15
24 Oct 10:23:01 ntpd[2980]: synchronized to LOCAL(0), stratum 10
24 Oct 10:23:01 ntpd[2980]: kernel time sync status change 0001
24 Oct 10:43:28 ntpd[2980]: ntpd exiting on signal 15
24 Oct 17:14:42 ntpd[2858]: Listening on interface #4 eth0, 192.168.178.21#123
Enabled
24 Oct 17:14:43 ntpd[2858]: ntpd exiting on signal 15
24 Oct 17:14:43 ntpd[2862]: parent died before we finished, exiting
24 Oct 17:09:03 ntpd[3015]: synchronized to LOCAL(0), stratum 10
24 Oct 17:09:03 ntpd[3015]: kernel time sync status change 0001
24 Oct 17:10:31 ntpd[3015]: ntpd exiting on signal 15
24 Oct 17:13:04 ntpd[3863]: ntpd exiting on signal 15
24 Oct 17:13:13 ntpd[3909]: ntpd exiting on signal 15
24 Oct 17:13:44 ntpd[3950]: ntpd exiting on signal 15
24 Oct 17:15:18 ntpd[2935]: Listening on interface #6 eth0,
fe80::230:5ff:fe21:53e6#123 Enabled
24 Oct 17:18:29 ntpd[2935]: synchronized to LOCAL(0), stratum 10
24 Oct 17:18:29 ntpd[2935]: kernel time sync status change 0001
24 Oct 17:19:31 ntpd[2935]: ntpd exiting on signal 15
24 Oct 17:21:02 ntpd[2820]: bind() fd 21, family 10, port 123, scope 2, addr
fe80::230:5ff:fe21:53e6, in6_is_addr_multicast=0 flags=0x11 fails: Cannot
assign requested address
24 Oct 17:21:02 ntpd[2820]: unable to create socket on eth0 (6) for
fe80::230:5ff:fe21:53e6#123
24 Oct 17:21:02 ntpd[2820]: failed to initialize interface for address
fe80::230:5ff:fe21:53e6
24 Oct 17:24:14 ntpd[2820]: synchronized to LOCAL(0), stratum 10
24 Oct 17:24:14 ntpd[2820]: kernel time sync status change 0001
24 Oct 17:26:02 ntpd[2820]: Listening on interface #7 eth0,
fe80::230:5ff:fe21:53e6#123 Enabled
< Previous Next >