≡ Menu

Linux Restart NTPD Service Command

I am using Network Time Protocol daemon called NTPD on Linux operating systems. How do I restart NTPD server or service on Debian/ Ubuntu / RHEL / Red Hat / Fedora / CentOS Linux operating systems?

On Linux Network Time Protocol service name can be any one of the following:

  1. ntpd (default on most distro)
  2. xntpd
  3. openntpd

After changes of the NTP configuration file such as ntp.conf, the NTP service needs to be restarted. The exact command depending on your Linux distribution.

Debian / Ubuntu Linux restart ntp service

Use any one of the following command on Debian or Ubuntu Linux for ntpd:
$ sudo /etc/init.d/ntp restart
OR use service command:
$ sudo service ntp restart

CentOS /RHEL / Red Hat Linux restart ntp service

Use any one of the following command on CentOS or REHL for ntpd::
$ sudo /etc/init.d/ntpd restart
OR use service command:
$ sudo service ntpd restart

A note about OpenNTPD service

If you are using OpenNTPD on Linux, type the following command to restart openntpd on Linux:
$ sudo /etc/init.d/openntpd restart
OR use service command:
$ sudo service openntpd restart

Sysadmin because even developers need heroes!!!

Share this tutorial on:
{ 1 comment… add one }
  • abdul kalam August 30, 2014, 1:47 am

    very good usefull

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: , , ,