top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to disable NTP on Fedora as it is slowing down system shutdown

+4 votes

I am running Fedora 20 x86_64. Its on a private network not connected to the Internet, and with no NTP server. When I shut down the machine, it pauses for more than a minute at a stop job is running for NTP client/server. I dont think I enabled NTP when I installed it, but Ive done

systemctl disable ntpd.service 

and the same for ntpdate and sntp, but it still pauses for that stop job. Why is it doing that, and what can I do to make it skip that?

posted Feb 11, 2014 by Majula Joshi

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

One of the first things to learn is that "disable" doesn't mean "disable". "mask" means "disable". (Something that's merely the former can be started by other things.) So, you could try 'systemctl mask ntpd.service".

You may want to try chrony instead, by the way. Not to be confused with cronie

answer Feb 11, 2014 by anonymous
Or you could use "systemctl -f shutdown" to tell systemd to stop waiting on all the furshlugginer services it desperately wants to shutdown "cleanly" (which won't make a particle of difference unless you are running something like a database server that really does need to shutdown cleanly). With -f all it does is sync the disks and go bye-bye.
Similar Questions
+6 votes

I want to write NTP client which sends and receives NTP packet to NTP server and should read the value from one of the four offsets and convert it to user readable local or GMT time format, I specifically want to know which offsets should I read in order to get correct timestamp from the packet.

Any suggestions?

+2 votes

When there is a need to update our machine time, we use NTP update. Is there any public NTP server available which can serve all the requests coming from clients located around the globe ? Or Is a dedicated NTP server required for each geographical location ?

+3 votes

How to set up timing if NTP was block by ISP? I have try many way such as link the timezone , getting from the hardware clock. However, it is not the solution.

Please advice.

+1 vote

I would like to sync my CentOS 6.3 hardware clock time to my NTP server's time. Can I do that without reboot the hosts?

Does anyone has the steps to do that?