On 11/02/15 07:57, catherine.wei1...@gmail.com wrote: > Hi, I also have a similar problem. In the newest ntp version 4.2.8p1, the > ntpdc is deprecated, what can I do if I still want to use it? Since in our > system, many ntpdc commands have been used. Can I resolve it by adding some > configuration? Thank you.
The replacement is to use ntpq. Within ntpq you can issue :config commands. Pretty much anything that you can specify in the ntp.conf file can be specified this way. So for example: the experiment I did yesterday (discussed in another thread) was to use ntpq to force re-reading the leapseconds file. This was done by issuing the following within ntpq: :config leapfile /var/lib/ntp/leap-seconds.list Of course, as was the case with ntpdc, you will first have to specify a keyid and corresponding passwd. Note that ntpq uses the controlkey. Also, for the benefit of others who might be setting up keys for the first time, note that the permissions of the keys file are important; 600 works for me. _______________________________________________ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions