Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Time Synchronization Troubleshooting

Direct answer

Time synchronisation troubleshooting finds why a clock is not synchronised: no reachable source, blocked UDP 123, two time services fighting, a virtual machine syncing from its host, or a large offset that will not be stepped.

When to use this

Use it when timedatectl says "synchronized: no" or logs and certificates show time errors.

First 30 seconds

1. timedatectl — NTP service active, synchronized?

2. Two services? systemctl status chronyd systemd-timesyncd ntpd.

3. chronyc sources -v — any ^*? Reach 0 → network.

4. tcpdump -n port 123 — replies arriving?

5. Large offset → chronyc makestep; VM → check hypervisor time sync.

Operational verification

one time service → sources reachable on UDP 123 → source selected → offset reduced → synchronized

Evidence · next step

For Time & NTP → Time Synchronization Troubleshooting, continue with the first unproven Topic check: Record symptom/time window, UTC/local time with offset, monotonic/uptime context, timezone, boot/migration/suspend events and workload tolerance for skew. If that boundary is healthy, advance to the adjacent check: Identify active time daemon(s), effective config, resolved sources, selection/reach/offset/jitter/tracking and kernel synchronization indicators before restart/step. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Key commandjournalctl -u chronyd
Scope / prerequisiteUse it when timedatectl says "synchronized: no" or logs and certificates show time errors.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

symptom + incident interval → wall/UTC/monotonic evidence → timezone/RTC/clocksource → daemon ownership → source resolution/reach → source selection/discipline → stable clock → original workload + regression

Healthy evidence: one authoritative daemon owns discipline, intended sources are selected/reachable, clock error remains stable within tolerance, timezone interpretation is correct and the original workload passes.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Record symptom/time window, UTC/local time with offset, monotonic/uptime context, timezone, boot/migration/suspend events and workload tolerance for skew.

  • Identify active time daemon(s), effective config, resolved sources, selection/reach/offset/jitter/tracking and kernel synchronization indicators before restart/step.
  • Test DNS/network reachability to sources and inspect RTC/clocksource/virtualization plus competing daemons; find the first step where expected state diverges.
  • Apply one minimal cause-specific change, observe stable discipline, then repeat the original authentication/scheduling/log-correlation workload and check for recurrence.

Verification chain. symptom + incident interval → wall/UTC/monotonic evidence → timezone/RTC/clocksource → daemon ownership → source resolution/reach → source selection/discipline → stable clock → original workload + regression

Step 3 Commands Verify boundary
timedatectl
chronyc tracking
journalctl -u chronyd
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: multiple daemons compete, sources never select, repeated steps/drift recur, host/guest clock conflict appears, logs cannot be correlated, or a temporary restart fixes symptoms without durable evidence.

Step 5 Common mistakes Narrow the fault
  • UDP 123 blocked by firewalls.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

Run only one time service. In VMs, disable hypervisor time sync if NTP is used (or the reverse). chrony slews slowly — a large offset needs makestep.

Key checks
  • timedatectl — time, time zone and sync status
  • chronyc tracking — offset and source (chrony)
  • chronyc sources -v — time sources and reachability
  • date -u — UTC time
ReferenceWhat it is1 section · depth on demand

Core model

Pin the exact symptom and incident interval: wrong displayed time, drift, jump, unsynchronized state, authentication skew, scheduler misfire or log-order anomaly. Capture UTC/local/monotonic context before intervention, identify the sole intended time daemon and sources, correlate daemon/source history with kernel and virtualization events, then fix the first failing step and re-run the original time-sensitive test.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

Troubleshooting is resolved only when the first failed time boundary is demonstrated, stable synchronization/presentation is restored within required tolerance and the original time-sensitive workload succeeds without recurring drift/jumps.

In depth

Read chrony's view of time

$ chronyc tracking
Reference ID    : 0A00000A (ntp1.corp.example.com)
Stratum         : 3
System time     : 0.000182311 seconds slow of NTP time
Last offset     : -0.000021340 seconds
RMS offset      : 0.000043127 seconds
Frequency       : 12.481 ppm slow
Skew            : 0.032 ppm
Leap status     : Normal
$ chronyc sources -v
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^* ntp1.corp.example.com         2   6   377    23    -21us[  -25us] +/-  612us
^+ ntp2.corp.example.com         2   6   377    24    +45us[  +41us] +/-  701us
^? 192.0.2.123                   0   6     0     -     +0ns[   +0ns] +/-    0ns
$ chronyc sourcestats

The chronyc manual explains tracking fields (offset, frequency, skew), sources -v with column captions, sourcestats and both forms of makestep.

MarkerMeaning
*Currently selected source
+Acceptable, combined with the selected one
-Acceptable but excluded by the combining algorithm
?Unreachable / no valid samples — Reach 0
xFalseticker — disagrees with the others
~Too variable

Reach is an octal bitmap of the last 8 polls; 377 = all answered.

Typical problems

SymptomCauseFix
All sources ?UDP 123 blocked, wrong nameschronyc -n sources, firewall, DNS
Large offset that only slowly shrinkschrony slews; big offsets take longchronyc makestep once (or makestep 1 3 in config for early boot)
Clock jumps after VM resume/migrationGuest not syncing promptlymakestep threshold, hypervisor time sync policy
Only one source configuredCannot detect a bad sourceUse three or more
Leap status : Not synchronisedNo selectable sourceFix sources first

Services that care

Kerberos (5-minute skew), TLS certificate validity, distributed databases and log correlation. After fixing time, restart services that cached a wrong time where needed, and check timedatectl shows System clock synchronized: yes.

*The chrony offset and frequency readings illustrate clock tracking and are not collected synchronization measurements.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works at runtime

Time Synchronization Troubleshooting is part of Time & NTP → Time Synchronization Troubleshooting. Time Synchronization Troubleshooting localizes Linux clock problems across clocksource/RTC/virtualization, timezone presentation, daemon ownership, source resolution/reachability, source selection, discipline and consuming applications without treating a single correct timestamp as evidence of recovery.

Topic-specific state model. Time Synchronization Troubleshooting localizes Linux clock problems across clocksource/RTC/virtualization, timezone presentation, daemon ownership, source resolution/reachability, source selection, discipline and consuming applications without treating a single correct timestamp as evidence of recovery.

Interpretation rule. - Restarting the time daemon restores sync ≠ the root cause is fixed; source/network/clock conflicts may recur.

  • Current time looks correct ≠ incident-period time was correct or logs can be correlated without offset history.
  • Peer reachable ≠ selected or trusted; source-selection rules can reject apparently healthy servers.
  • Forcing a clock step ≠ safe recovery; it can perturb timers, schedulers, databases, authentication and log ordering.

Method

Time sync troubleshooting:

SymptomCheck
Leap status: Not synchronisedSources reachable? UDP 123 blocked?
All sources ? / unreachableDNS, firewall, chronyc activity
Large offset not correctedmakestep limits — run chronyc makestep
Two daemons fightingchronyd and systemd-timesyncd/ntpd both running
VM clock jumpsHypervisor time sync vs NTP, host time wrong
chronyc tracking; chronyc sources -v; chronyc activity
timedatectl timesync-status 2>/dev/null
systemctl status chronyd systemd-timesyncd ntpd 2>/dev/null | grep -E 'Loaded|Active'
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Limits and how it fails

Primary failure point. Troubleshooting is resolved only when the first failed time boundary is demonstrated, stable synchronization/presentation is restored within required tolerance and the original time-sensitive workload succeeds without recurring drift/jumps.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. Time Synchronization Troubleshooting owns cross-boundary fault isolation for Linux time. Hand off to Networking/DNS, Virtualization, Scheduling, Security or application Topics when evidence shows the first failure belongs there.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

Authoritative/upstream documentation reviewed for bounded claims in Time & NTP → Time Synchronization Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://chrony-project.org/documentation.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
linux time sync troubleshootingchrony troubleshootingntp troubleshooting linuxclock drift linux
Embedded reference data

Quick lookup tables

Time Synchronization Troubleshooting operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Time Synchronization Troubleshooting.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateTime Synchronization Troubleshooting localizes Linux clock problems across clocksource/RTC/virtualization, timezone presentation, daemon ownership, source resolution/reachability, source selection, discipline and consuming applications without treating a single correct timestamp as proof of recovery.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin exact symptom + clock/trigger time → identify authoritative scheduler or time daemon → read back effective configuration/runtime state → reproduce or observe the expected event/source measurement → correlate identity/environment/offset/status with logs → change one demonstrated cause → read back stable state → repeat original scheduled or time-sensitive workload + regression check.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chainsymptom + incident interval → wall/UTC/monotonic evidence → timezone/RTC/clocksource → daemon ownership → source resolution/reach → source selection/discipline → stable clock → original workload + regressionTrace requested/configured state through effective state to the observed workload result.
Failure boundaryTroubleshooting closes only when the first failed time boundary is demonstrated, stable synchronization/presentation is restored within required tolerance and the original time-sensitive workload succeeds without recurring drift/jumps.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux scheduling/time evidence can establish this proof path: symptom + incident interval → wall/UTC/monotonic evidence → timezone/RTC/clocksource → daemon ownership → source resolution/reach → source selection/discipline → stable clock → original workload + regressionUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured host, clock/timezone, scheduler or time-daemon instance, identity/environment, source, trigger/measurement interval or workload scope. Troubleshooting closes only when the first failed time boundary is demonstrated, stable synchronization/presentation is restored within required tolerance and the original time-sensitive workload succeeds without recurring drift/jumps.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven scheduling/time boundary: preserve the original timing and execution/source context, capture the adjacent scheduler/process or clock/source state, change only the demonstrated cause, then repeat the original scheduled or time-sensitive workload and regression checks.Continue to the next unresolved boundary while preserving the original test condition.

Time Synchronization Troubleshooting · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryTime Synchronization Troubleshooting
Topic pathTime & NTP → Time Synchronization Troubleshooting
Runtime stateTime Synchronization Troubleshooting localizes Linux clock problems across clocksource/RTC/virtualization, timezone presentation, daemon ownership, source resolution/reachability, source selection, discipline and consuming applications without treating a single correct timestamp as proof of recovery.
Fast checks- Record symptom/time window, UTC/local time with offset, monotonic/uptime context, timezone, boot/migration/suspend events and workload tolerance for skew. - Identify active time daemon(s), effective config, resolved sources, selection/reach/offset/jitter/tracking and kernel synchronization indicators before restart/step. - Test DNS/network reachability to sources and inspect RTC/clocksource/virtualization plus competing daemons; find the first boundary where expected state diverges. - Apply one minimal cause-specific change, observe stable discipline, then repeat the original authentication/scheduling/log-correlation workload and check for recurrence.
Verification chainsymptom + incident interval → wall/UTC/monotonic evidence → timezone/RTC/clocksource → daemon ownership → source resolution/reach → source selection/discipline → stable clock → original workload + regression Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundaryTroubleshooting closes only when the first failed time boundary is demonstrated, stable synchronization/presentation is restored within required tolerance and the original time-sensitive workload succeeds without recurring drift/jumps. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?