getting ntp to auto start on reboot
On RedHat 7.3, running as a server (no graphical interface), I configured ntp.
I managed to winkle out all I needed to know to get it to work the way I wanted - syncing with official timeservers, providing time service to the rest of my network.
Now I want to get ntp to start when the machine reboots.
I thought I had it figured out, and did the following :
~ changed "-" to "2345" in /etc/rc.d/init.d/ntpd (inittab says id:3:initdefault: )
~ did /sbin/chkconfig --add ntpd
(response to that last command was right back to prompt. there was no error messages. there was also no success message...)
Then I rebooted. Did ps -ax | grep ntp. That returned nothing.
When I do /sbin/chkconfig --list ntpd, I get "off" for all levels.
Just now, reading a previous post about getting mysql to auto-start, I looked at the entries in rc2-5.d. In all those directories, the link to /etc/rc.d/init.d/ntpd is named K74ntpd.
I think I know that the linkname must start with S for the service to be started. I thought that chkconfig, as manager of the links, would cause that to be the case.
So, 2 questions :
~ Why did "/sbin/chkconfig --add ntpd" not work?
~ Is it safe to manually rename the current link to S74ntpd? (This server is a vital link in our DNS system. I don't want to thrash about thoughtlessly...)