📖 ~1 min read
Table of contents
Symptom & Impact
TLS, logs, and distributed jobs fail due to clock skew.
Environment & Reproduction
VM and bare-metal hosts show increasing offset over hours.
Root Cause Analysis
`ntpd` disabled, wrong servers in `/etc/ntp.conf`, or blocked UDP/123.
Quick Triage
Check time services and current offset.
service ntpd status
ntpq -pn
date -u
Step-by-Step Diagnosis
Inspect peer reachability and startup options.
grep -v '^#' /etc/ntp.conf
sysrc ntpd_enable ntpd_sync_on_start
sockstat -4 -6 | grep ntpd

Solution – Primary Fix
Enable sync on boot and restart NTP daemon.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sysrc ntpd_enable='YES'
sysrc ntpd_sync_on_start='YES'
service ntpd restart

Solution – Alternative Approaches
Use `openntpd` consistently, but do not run both daemons simultaneously.
Verification & Acceptance Criteria
`ntpq -pn` shows reachable peers and offset stabilizes below operational threshold.
Rollback Plan
Restore previous `ntp.conf`, restart old daemon, and re-check offsets.
Prevention & Hardening
Alert on drift and enforce NTP config in provisioning templates.
Related Errors & Cross-Refs
`Clock skew detected`, certificate `not yet valid`, Kerberos auth errors.
Related tutorial: View the step-by-step tutorial for freebsd-12.
View all freebsd-12 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
`ntpd(8)`, `ntp.conf(5)`, FreeBSD time services docs.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.