On Wednesday, February 11, 2015 at 3:40:02 PM UTC+8, Harlan Stenn wrote:
> [email protected] writes:
> > When I change ntp servers by "toish setobject cfg.ntp.servers 
> > 192.168.1.101" 
> > in linux, ntp server print logs "localhost: timed out, nothing received", 
> > the
> >  ntp server change fails. Why is that ? 
> > Appreciate so much for your help.
> 
> What sort of 'restrict' lines do you have in your ntp.conf file?
> 
> I have no idea what "toish ..." does.
> 
> H

Hi, the restrict line is:driftfile /etc/ntp.drift
restrict default ignore
restrict 127.0.0.1
broadcastdelay 0.008
#6000000000s because we start at 1970
tinker panic 6000000000
restrict 192.168.1.101 nomodify notrap
server 192.168.1.101 minpoll 3 maxpoll 4

The toish is a tool made by our system, the purpose of "toish setobject 
cfg.ntp.servers 192.168.1.101" is to change the ntp server.
I've searched and find that the time out error may be related to ntpdc's 
deprecation. Since when I change the server, ntpdc should remove the old server 
from the remote serverlist and add the new server to it, during which, a time 
out error occurs. So now the problem is how can I still use ntpdc, it will be 
really huge task if I use ntpq to replace it in our system so I don't want to 
give it up at present.
Thank you.


_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to