Linux Restart NTPD Service Command

by on January 19, 2003 · 1 comment· LAST UPDATED January 19, 2014

in , ,

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:

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsNone
Estimated completion time1m
  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

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 1 comment… read it below or add one }

1 abdul kalam August 30, 2014 at 1:47 am

very good usefull

Reply

Leave a Comment

Tagged as: , , ,

Previous Faq:

Next Faq: