Skip to content

Instantly share code, notes, and snippets.

@dubcl
Created April 10, 2018 21:25
Show Gist options
  • Save dubcl/4b7638abaf9b072911111f0d4d37f4f9 to your computer and use it in GitHub Desktop.
Save dubcl/4b7638abaf9b072911111f0d4d37f4f9 to your computer and use it in GitHub Desktop.
ntpdate workaround

The problem

$  ntpdate pool.ntp.org
10 Apr 19:32:00 ntpdate[3519]: no server suitable for synchronization found

The Fix

$ ntpdate -u pool.ntp.org

The "Permanent" fix

$ sed -i 's/NTPOPTIONS=""/NTPOPTIONS="-u"/g' /etc/default/ntpdate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment