Learn how to easily fix this error that appears when you try to synchronize your system time using an online service with Webmin.

How to solve Webmin error NTP time synchronization failed: Missing ntpdate and sntp commands

This exception appears when you try to synchronize the time with a remote server through the System Time module of Webmin:

System Time NTP Webmin

And the operative system doesn't have the NTP package available from the CLI. Depending on your operative system, you can easily install with the following command for Debian/Ubuntu:

sudo apt-get install ntp

If you are in CentOS or Redhat based systems, you can install this package with yum:

sudo yum install ntp

After the installation of this package, you may now synchronize using a time server without any problem.

Happy coding ❤️!

Interested in programming since he was 14 years old, Carlos is a self-taught programmer and founder and author of most of the articles at Our Code World.

Become a more social person