PDA

View Full Version : Disable synchronizing clock to ntp.ubuntulinux.org..


orvils
June 20th, 2006, 03:21 AM
Does anyone know how to "Disable synchronizing clock to ntp.ubuntulinux.org.."

the old method doesn't work, as there is no service name called 'ntpdate'

any ideas?

simonn
June 20th, 2006, 03:41 AM
Does anyone know how to "Disable synchronizing clock to ntp.ubuntulinux.org.."

the old method doesn't work, as there is no service name called 'ntpdate'

any ideas?


$ sudo update-rc.d ntp-server remove


If that does not work, what does the following return:


$ ls /etc/rc?.d/*ntp*

orvils
June 21st, 2006, 08:54 AM
still synchronizing..
on my laptop this wa output...

$ sudo update-rc.d ntp-server remove
update-rc.d: /etc/init.d/ntp-server exists during rc.d purge (use -f to force)
$ sudo update-rc.d -f ntp-server remove
update-rc.d: /etc/init.d/ntp-server exists during rc.d purge (continuing)
Removing any system startup links for /etc/init.d/ntp-server ...
/etc/rc2.d/S23ntp-server
/etc/rc3.d/S23ntp-server

$ ls /etc/rc?.d/*ntp*
/etc/rc2.d/K50ntpdate /etc/rcS.d/S51ntpdate

simonn
June 22nd, 2006, 12:34 AM
Looks like you are still running ntpdate


$ sudo update-rc.d ntpdate remove


Should fix it.

If...


ls /etc/rc?.d/*ntp*


...returns the same as before, manually remove /etc/rc2.d/K50ntpdate /etc/rcS.d/S51ntpdate.