mr.quickly
Goto Top

Fehler bei Windows Zeitsynchronisierung mittels Debian Linux ntp

Hallo Zusammen,

wir möchten gerne die Uhrzeit unseres PDC von einem Debiab Linux Server beziehen.
Lieder klappt dies nicht. Wir bekommen immer folgende Fehler in der Ereignisanzeige:

Event Type:	Information
Event Source:	W32Time
Event Category:	None
Event ID:	38
Date:		02.01.2008
Time:		15:53:20
User:		N/A
Computer:	PDC
Description:
The time provider NtpClient cannot reach or is currently receiving invalid time data from 192.168.100.6 (ntp.m|0x8|172.16.16.5:123->192.168.100.6:123).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Habe dann das Log für w32tm eingeschaltet. Hier ist es:

148654 14:52:10.1250000s - ---------- Log File Opened -----------------
148654 14:52:10.1250000s - Entered W32TmServiceMain W2K3SP1
148654 14:52:10.1250000s - CurSpc:15625000ns  BaseSpc:15625000ns  SyncToCmos:Yes
148654 14:52:10.1250000s - PerfFreq:3579545c/s
148654 14:52:10.1250000s - Time zone OK.
148654 14:52:10.1250000s - ReadConfig: Found provider 'NtpClient':  
148654 14:52:10.1250000s - ReadConfig:   'Enabled'=0x00000001  
148654 14:52:10.1250000s - ReadConfig:   'DllName'='C:\WINDOWS\system32\w32time.dll'  
148654 14:52:10.1250000s - ReadConfig:   'InputProvider'=0x00000001  
148654 14:52:10.1250000s - ReadConfig: Found provider 'NtpServer':  
148654 14:52:10.1250000s - ReadConfig:   'Enabled'=0x00000001  
148654 14:52:10.1250000s - ReadConfig:   'DllName'='C:\WINDOWS\system32\w32time.dll'  
148654 14:52:10.1250000s - ReadConfig:   'InputProvider'=0x00000000  
148654 14:52:10.1250000s - ReadConfig: 'PhaseCorrectRate'=0x00000007  
148654 14:52:10.1250000s - ReadConfig: 'UpdateInterval'=0x00000064  
148654 14:52:10.1250000s - ReadConfig: 'FrequencyCorrectRate'=0x00000004  
148654 14:52:10.1250000s - ReadConfig: 'PollAdjustFactor'=0x00000005  
148654 14:52:10.1250000s - ReadConfig: 'LargePhaseOffset'=0x02FAF080  
148654 14:52:10.1250000s - ReadConfig: 'SpikeWatchPeriod'=0x00000384  
148654 14:52:10.1250000s - ReadConfig: 'HoldPeriod'=0x00000005  
148654 14:52:10.1250000s - ReadConfig: 'MinPollInterval'=0x00000006  
148654 14:52:10.1250000s - ReadConfig: 'MaxPollInterval'=0x0000000A  
148654 14:52:10.1250000s - ReadConfig: 'AnnounceFlags'=0x00000005  
148654 14:52:10.1250000s - ReadConfig: 'LocalClockDispersion'=0x0000000A  
148654 14:52:10.1250000s - ReadConfig: 'MaxNegPhaseCorrection'=0xFFFFFFFF  
148654 14:52:10.1250000s - ReadConfig: 'MaxPosPhaseCorrection'=0xFFFFFFFF  
148654 14:52:10.1250000s - ReadConfig: 'EventLogFlags'=0x00000002  
148654 14:52:10.1250000s - ReadConfig: 'MaxAllowedPhaseOffset'=0x0000012C  
148654 14:52:10.1250000s - ReadConfig: failed. Use default one 'TimeJumpAuditOffset'=0x00007080  
148654 14:52:10.1250000s -   DomainHierarchy: LSA role change notification. Redetecting.
148654 14:52:10.1250000s -     DomainHierarchy:  we are now the domain root.  Should be advertised as reliable
148654 14:52:10.1250000s - ClockDisciplineThread: Starting:148654 14:52:10.1250000s -  LI:0 S:1 RDl:0 RDs:100000000 TSF:0x0
148654 14:52:10.1250000s - ClockDispln: we're a reliable time service with no time source: LS: 0, TN: 864000000000, WAIT: 86400000  
148654 14:52:10.1250000s - Starting Providers.
148654 14:52:10.1250000s - Starting 'NtpClient', dll:'C:\WINDOWS\system32\w32time.dll'  
148654 14:52:10.1250000s - NtpTimeProvOpen("NtpClient") called.  
148654 14:52:10.1250000s - sysPrecision=-6, systmeClockResolution=156250
148654 14:52:10.1250000s - NtpProvider: Created 2 sockets (1 listen-only): 172.16.16.5:123, (127.0.0.1:123)
148654 14:52:10.1250000s - PeerPollingThread: waiting forever
148654 14:52:10.1250000s - ReadConfig: 'AllowNonstandardModeCombinations'=0x00000001  
148654 14:52:10.1250000s - ReadConfig: 'CompatibilityFlags'=0x80000000  
148654 14:52:10.1250000s - ReadConfig: 'SpecialPollInterval'=0x00000E10  
148654 14:52:10.1250000s - ReadConfig: 'ResolvePeerBackoffMinutes'=0x0000000F  
148654 14:52:10.1250000s - ReadConfig: 'ResolvePeerBackoffMaxTimes'=0x00000007  
148654 14:52:10.1250000s - ReadConfig: 'EventLogFlags'=0x00000001  
148654 14:52:10.1250000s - ReadConfig: 'LargeSampleSkew'=0x00000003  
148654 14:52:10.1250000s - ReadConfig: 'ManualPeerList'='192.168.100.6,0x08'  
148654 14:52:10.1250000s - PeerPollingThread: waiting 0.000s
148654 14:52:10.1250000s - NtpClient started.
148654 14:52:10.1250000s - Starting 'NtpServer', dll:'C:\WINDOWS\system32\w32time.dll'  
148654 14:52:10.1250000s - NtpTimeProvOpen("NtpServer") called.  
148654 14:52:10.1250000s - ReadConfig: 'AllowNonstandardModeCombinations'=0x00000001  
148654 14:52:10.1250000s - PeerPollingThread: PeerListUpdated
148654 14:52:10.1250000s - Resolving 192.168.100.6,0x08
148654 14:52:10.1250000s - Created reachability group: (
148654 14:52:10.1250000s - 192.168.100.6:123,
148654 14:52:10.1250000s - )
148654 14:52:10.1250000s - PeerPollingThread: waiting 0.000s
148654 14:52:10.1250000s - PeerPollingThread: waiting 0.000s
148654 14:52:10.1250000s - NtpServer started.
148654 14:52:10.1250000s - Successfully started 2 providers.
148654 14:52:10.1250000s - W32TmServiceMain: waiting i16.000s (64.000s)
148654 14:52:10.1250000s - PeerPollingThread: PeerListUpdated
148654 14:52:10.1250000s - Reachability: Attempting to contact peer 192.168.100.6 (ntp.m|0x8|172.16.16.5:123->192.168.100.6:123).
148654 14:52:10.1250000s - Polling peer 192.168.100.6 (ntp.m|0x8|172.16.16.5:123->192.168.100.6:123)
148654 14:52:10.1250000s - Sending packet to 192.168.100.6 (ntp.m|0x8|172.16.16.5:123->192.168.100.6:123) in Win2K detect mode, stage 1.
148654 14:52:10.1250000s - Peer poll: Max:64.0000000s Cur:00.0000000s
148654 14:52:10.1250000s - PeerPollingThread: waiting 64.000s
148654 14:52:10.1250000s - W32TmServiceMain: waiting i16.000s (64.000s)
148654 14:52:10.1250000s - ListeningThread -- DataAvailEvent set for socket 0 (172.16.16.5:123)
148654 14:52:10.1250000s - ListeningThread -- response heard from 192.168.100.6:123
148654 14:52:10.1250000s - /-- NTP Packet:
148654 14:52:10.1250000s - | LeapIndicator: 3 - not synchronized;  VersionNumber: 3;  Mode: 4 - Server;  LiVnMode: 0xDC
148654 14:52:10.1250000s - | Stratum: 0 - unspecified or unavailable
148654 14:52:10.1250000s - | Poll Interval: 15 - out of valid range;  Precision: -20 - 953.674ns per tick
148654 14:52:10.1250000s - | RootDelay: 0x0000.0000s - unspecified;  RootDispersion: 0x0000.019Es - 0.00631714s
148654 14:52:10.1250000s - | ReferenceClockIdentifier: 0x53544550 - source name: "STEP"  
148654 14:52:10.1250000s - | ReferenceTimestamp:   0x0000000000000000 - unspecified
148654 14:52:10.1250000s - | OriginateTimestamp:   0xCB26239A20000000148654 14:52:10.1250000s -  - 12843759130125000000ns - 148654 14:52:10.1250000s
148654 14:52:10.1250000s - | ReceiveTimestamp:     0xCB26239795C5F397148654 14:52:10.1250000s -  - 12843759127585051800ns - 148654 14:52:07.5850518s
148654 14:52:10.1250000s - | TransmitTimestamp:    0xCB26239795CB1FF6148654 14:52:10.1250000s -  - 12843759127585130700ns - 148654 14:52:07.5851307s
148654 14:52:10.1250000s - >-- Non-packet info:
148654 14:52:10.1250000s - | DestinationTimestamp: 148654 14:52:10.1250000s - 0xCB26239A20000000148654 14:52:10.1250000s -  - 12843759130125000000ns148654 14:52:10.1250000s -  - 148654 14:52:10.1250000s
148654 14:52:10.1250000s - | RoundtripDelay: -78900ns (0s)
148654 14:52:10.1250000s - | LocalClockOffset: -2539908700ns - 0:02.539908700s
148654 14:52:10.1250000s - \--
148654 14:52:10.1250000s - Peer 192.168.100.6 (ntp.m|0x8|172.16.16.5:123->192.168.100.6:123) is not Win2K. Setting compat flags.
148654 14:52:10.1250000s - Packet test 6 failed (not syncd or bad interval since last sync).
148654 14:52:10.1250000s - Packet test 7 failed (bad stratum).

Ich denke mal das entscheidende ist "ListeningThread -- response heard from 192.168.100.6:123" dann weiter unten "Peer 192.168.100.6 (ntp.m|0x8|172.16.16.5:123->192.168.100.6:123) is not Win2K. Setting compat flags." und schließlich " Packet test 6 failed (not syncd or bad interval since last sync)." sowie "148654 14:52:10.1250000s - Packet test 7 failed (bad stratum)."

Also empfangen tut er was aber er kann nicht damit um so würde ich das mal sagen.
Haben auch schon lange gegoogelt aber außer diesen zwei Beiträgen, welche uns leider auch nicht weiter gebracht haben, nichts gefunden:

http://support.microsoft.com/?scid=kb%3Ben-us%3B875424&x=20&y=1 ...
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=9561

Kennt jemand von euch das Problem? Was machen wir falsch?
Wie bekommen wir es hin das sich Windoof und Linux verstehen?

Content-ID: 77027

Url: https://administrator.de/contentid/77027

Ausgedruckt am: 22.11.2024 um 09:11 Uhr

guter-mann
guter-mann 17.12.2008 um 22:59:29 Uhr
Goto Top
Ist zwar schon eine Zeit her... Aber sei es drum face-smile

Wenn ich das Log-File richtig interpretiere wird auf dem Windows-Server ein NTP-Client und ein NTP-Server gestartet. Der Server benötigt normalerweise einem Stratum Server - also etwas wie ptbtime1.ptb.de -

...steht hier.
NtpProvider: Created 2 sockets (1 listen-only): 172.16.16.5:123, (127.0.0.1:123)

2 Sockets erstellt
- 172.16.16.5:123 für die Bereitstellung
- 127.0.0.1:123 für Zugriffe über lokalHorscht



Lösung:
Keinen Zeitserver auf der WinMöhre installieren, sondern:

Doppelklick auf die Uhr im Tray -> Internetzeit -> Haken setzen bei "Automatisch mit einem Internetzeitserver synchronisieren" -> Server oder IP Adresse eintragen -> Übernehmen -> "Jetzt aktualisieren" klicken.