[ntp:questions] leapseconds.list updates and ntpd

2015-02-10 Thread walter . preuninger
Either I have missed it, or it is not there. My question is 'does ntpd have to be restarted after a new leapseconds.list file has been downloaded?' Thanks, Walter ___ questions mailing list questions@lists.ntp.org

[ntp:questions] when change ntp servers, log print localhost: timed out, nothing received

2015-02-10 Thread catherine . wei1989
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. ___ questions mailing list

Re: [ntp:questions] leapseconds.list updates and ntpd

2015-02-10 Thread Mike Cook
The doc http://support.ntp.org/bin/view/Support/ConfiguringNTP#Section_6.14. says you have to, but it is describing a particular case where the config file is updated. If the file path directive is already there, would be a no brainer to add a check on the file now and again to see if it had

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread Jochen Bern
On 02/10/2015 06:15 AM, catherine.wei1...@gmail.com wrote: However, when I wait for several minutes, the time can be adjusted to the right time. I couldn't see the gradual changes of offset. Is that normal? Assuming that you're using a minimalistic configuration: Yes. ntpd would take almost

Re: [ntp:questions] leapseconds.list updates and ntpd

2015-02-10 Thread Harlan Stenn
walter.preunin...@gmail.com writes: Either I have missed it, or it is not there. My question is 'does ntpd have to be restarted after a new leapseconds.list file has been downloaded?' No. The code looks for an updated file (daily, I think, more often as we get closer to an expiration). See

Re: [ntp:questions] leapseconds.list updates and ntpd

2015-02-10 Thread Jan Ceuleers
On 10/02/15 18:19, Harlan Stenn wrote: walter.preunin...@gmail.com writes: Either I have missed it, or it is not there. My question is 'does ntpd have to be restarted after a new leapseconds.list file has been downloaded?' No. The code looks for an updated file (daily, I think, more often

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread Rob
catherine.wei1...@gmail.com catherine.wei1...@gmail.com wrote: Hi, I'm using the ntpd to sync time. When I change the current date for exampe to 0210020215 (2015-02-10 02:02), the actually current time is 2015-02-10 03:02, then I run ntpq -p for several times, the offset doesn't change at

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread David Woolley
On 10/02/15 05:15, catherine.wei1...@gmail.com wrote: Hi, I'm using the ntpd to sync time. When I change the current date for exampe to 0210020215 (2015-02-10 02:02), the actually current time is 2015-02-10 03:02, then I run ntpq -p for several times, the offset doesn't change at all.

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread Brian Inglis
On 2015-02-10 13:26, William Unruh wrote: However if this is the first time this running of ntpd has encountered this, eg at startup, if you use -x option it will jump the time even if the -g (panicGate) offset is 1000 sec. -- Take care. Thanks, Brian Inglis

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread Terje Mathisen
William Unruh wrote: On 2015-02-10, Jochen Bern jochen.b...@linworks.de wrote: On 02/10/2015 06:15 AM, catherine.wei1...@gmail.com wrote: However, when I wait for several minutes, the time can be adjusted to the right time. I couldn't see the gradual changes of offset. Is that normal?

Re: [ntp:questions] leapseconds.list updates and ntpd

2015-02-10 Thread Jan Ceuleers
On 10/02/15 21:01, Brian Inglis wrote: Use ntpq -c rv to check the leap second file has been updated and a pending leap second recognized: $ ntpq -crv associd=0 status=0419 leap_none, sync_uhf_radio, 1 event, leap_armed, version=ntpd 4.2.6p5@1.2349-o Jul 30 11:55:08 (UTC+02:00) 2012 (2),

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread William Unruh
On 2015-02-10, Jochen Bern jochen.b...@linworks.de wrote: On 02/10/2015 06:15 AM, catherine.wei1...@gmail.com wrote: However, when I wait for several minutes, the time can be adjusted to the right time. I couldn't see the gradual changes of offset. Is that normal? Assuming that you're using

Re: [ntp:questions] leapseconds.list updates and ntpd

2015-02-10 Thread Brian Inglis
On 2015-02-10 10:51, Jan Ceuleers wrote: On 10/02/15 18:19, Harlan Stenn wrote: walter.preunin...@gmail.com writes: Either I have missed it, or it is not there. My question is 'does ntpd have to be restarted after a new leapseconds.list file has been downloaded?' No. The code looks for an

Re: [ntp:questions] Does ntpq have an equivalent to ntpdc's fudge command?

2015-02-10 Thread catherine . wei1989
On Wednesday, February 11, 2015 at 2:57:28 PM UTC+8, catherin...@gmail.com wrote: On Monday, October 6, 2014 at 4:39:35 AM UTC+8, Rich Wales wrote: Does the ntpq program have an equivalent to ntpdc's fudge command? I know ntpdc is deprecated, and I understand ntpq is supposed to be able

Re: [ntp:questions] Does ntpq have an equivalent to ntpdc's fudge command?

2015-02-10 Thread catherine . wei1989
On Monday, October 6, 2014 at 4:39:35 AM UTC+8, Rich Wales wrote: Does the ntpq program have an equivalent to ntpdc's fudge command? I know ntpdc is deprecated, and I understand ntpq is supposed to be able to do everything that ntpdc can do, but I simply can't find any way to set a reference

Re: [ntp:questions] Does ntpq have an equivalent to ntpdc's fudge command?

2015-02-10 Thread Jan Ceuleers
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

Re: [ntp:questions] when change ntp servers, log print localhost: timed out, nothing received

2015-02-10 Thread Harlan Stenn
catherine.wei1...@gmail.com 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

Re: [ntp:questions] leapseconds.list updates and ntpd

2015-02-10 Thread Harlan Stenn
Paul writes: On Tue, Feb 10, 2015 at 12:19 PM, Harlan Stenn st...@ntp.org wrote: No. The code looks for an updated file (daily, I think, more often as we get closer to an expiration). It checks every SECSPERDAY after start. I didn't notice any adjustments to the interval

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread Harlan Stenn
William Unruh writes: On 2015-02-10, Terje Mathisen terje.mathi...@tmsw.no wrote: William Unruh wrote: No. It only does that for offsets from Hades. The Ones from Hell, ntpd abandons all hope and quits. ( Hades is 128ms to 1000 sec, Hell is 1000 sec) Ie, for 128ms, ntp will try to

Re: [ntp:questions] leapseconds.list updates and ntpd

2015-02-10 Thread Paul
On Tue, Feb 10, 2015 at 12:19 PM, Harlan Stenn st...@ntp.org wrote: No. The code looks for an updated file (daily, I think, more often as we get closer to an expiration). It checks every SECSPERDAY after start. I didn't notice any adjustments to the interval (leapf_timer) and the comment

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread William Unruh
On 2015-02-10, Brian Inglis brian.ing...@systematicsw.ab.ca wrote: On 2015-02-10 13:26, William Unruh wrote: However if this is the first time this running of ntpd has encountered this, eg at startup, if you use -x option it will jump the time even if the -g

Re: [ntp:questions] NTP offset doesn't change.

2015-02-10 Thread William Unruh
On 2015-02-10, Terje Mathisen terje.mathi...@tmsw.no wrote: William Unruh wrote: On 2015-02-10, Jochen Bern jochen.b...@linworks.de wrote: On 02/10/2015 06:15 AM, catherine.wei1...@gmail.com wrote: However, when I wait for several minutes, the time can be adjusted to the right time. I