Use it when timedatectl says "synchronized: no" or logs and certificates show time errors.
Time Synchronization Troubleshooting
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.
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.
one time service → sources reachable on UDP 123 → source selected → offset reduced → synchronized
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
Operational reference
Fast context before you go deeper.
journalctl -u chronydVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
timedatectl— time, time zone and sync statuschronyc tracking— offset and source (chrony)chronyc sources -v— time sources and reachabilitydate -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.
| Marker | Meaning |
|---|---|
* | Currently selected source |
+ | Acceptable, combined with the selected one |
- | Acceptable but excluded by the combining algorithm |
? | Unreachable / no valid samples — Reach 0 |
x | Falseticker — disagrees with the others |
~ | Too variable |
Reach is an octal bitmap of the last 8 polls; 377 = all answered.
Typical problems
| Symptom | Cause | Fix |
|---|---|---|
All sources ? | UDP 123 blocked, wrong names | chronyc -n sources, firewall, DNS |
| Large offset that only slowly shrinks | chrony slews; big offsets take long | chronyc makestep once (or makestep 1 3 in config for early boot) |
| Clock jumps after VM resume/migration | Guest not syncing promptly | makestep threshold, hypervisor time sync policy |
| Only one source configured | Cannot detect a bad source | Use three or more |
Leap status : Not synchronised | No selectable source | Fix 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.*
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:
| Symptom | Check |
|---|---|
Leap status: Not synchronised | Sources reachable? UDP 123 blocked? |
All sources ? / unreachable | DNS, firewall, chronyc activity |
| Large offset not corrected | makestep limits — run chronyc makestep |
| Two daemons fighting | chronyd and systemd-timesyncd/ntpd both running |
| VM clock jumps | Hypervisor 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'
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
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.
Quick lookup tables
Time Synchronization Troubleshooting operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Time Synchronization Troubleshooting.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | 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 proof of recovery. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin 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 chain | symptom + incident interval → wall/UTC/monotonic evidence → timezone/RTC/clocksource → daemon ownership → source resolution/reach → source selection/discipline → stable clock → original workload + regression | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | 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. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated 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 + regression | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It 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 check | Continue 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 boundary | Time Synchronization Troubleshooting |
|---|---|
| Topic path | Time & NTP → Time Synchronization Troubleshooting |
| Runtime state | 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 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 chain | symptom + 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 boundary | 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. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |