Topics: Red Hat / Linux, System Admin

How to enable ntpd on Linux

This is a procedure to enable time synchronization (ntpd) on Linux (in this example, replace the IP address of the time server with the IP address of your time server):

  • Stop all applications on the server.
  • Check if you can access the time servers, e.g.:
    # ntpdate -q 10.250.9.11
  • Check if the current timezone setting is correct by simply running the date command.
  • Set the time and date correct:
    # ntpdate 10.250.9.11
  • Start the NTP server:
    # service ntpd start
  • Check the status:
    # service ntpd status
  • Check the time synchronization (it may take some time for the client to synchronize with its time server):
    # ntpq -p
  • Check that ntpd is started at system restart:
    # chkconfig ntpd on
    # chkconfig --list | grep ntpd
  • Check the process:
    # ps -ef | grep ntpd
  • Reboot the server:
    # reboot




If you found this useful, here's more on the same topic(s) in our blog:


UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

Interested in learning more?