Interview Prep/Linux/Boot, time, cron and kernel

`chronyc sources` shows all servers with `?` or `^?` and the clock is drifting.

IntermediateTroubleshootingBoot, time, cron and kernel
Answer

Likely causes → NTP servers unreachable: UDP 123 blocked by a firewall/security group, wrong server names, or DNS failing for pool names.

Diagnose →

chronyc sources -v
chronyc activity
getent hosts 2.pool.ntp.org
sudo tcpdump -ni any udp port 123 -c 10

Fix → Allow outbound UDP 123, or use an internal/cloud time source (169.254.169.123 on AWS, metadata.google.internal on GCP). Restart chronyd.

Prevent → Use the cloud provider's local time service; monitor chronyc tracking offset.

All Linux questions Roadmap: Linux

More on Boot, time, cron and kernel