Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Errrrrr, I mentioned that my server can't access to Internet in the first sentence in my question. And after few days later after I post this this question, I finally confirmed from my service provider that the server's protocol is not NTP but SNTP. And SNTP server seems working good with ntpd on CentOS and newer Debian version. Commented Nov 15, 2021 at 5:49
  • I didn't think it was clearly stated in the question, so I wanted to make sure the reasoning was clear in the answer. If ntpd -gq is working well with their sntp server, then it is acting as an sntp client, and you will need to disable ntpd as a daemon and just run that command in cron periodically. Commented Nov 15, 2021 at 12:25