Re: [ntp:questions] Trouble Simulating Leap Seconds
On Wed, Apr 01, 2015 at 04:20:57PM -0400, Jim Witschey wrote: The server's warning for the upcoming leap second seems to propogate to the clients, as I see `leap_armed` in the output for `ntpq -c rl` before midnight, and `leap_event` afterwards. However, when I loop `date -u` over the leap second, I don't see a leap second getting inserted -- I expect 23:59:59 to last for 2 seconds, but it doesn't. The time goes straight from 23:59:59 to 00:00:00 the next day. In addition, I don't see any information about inserted leap seconds in the logs when I search with `dmesg | grep leap` or `sudo grep leap /var/log/syslog`. Does status printed by ntptime include INS before midnight? Any chance ntpd is started with the -x option or there is tinker step command in ntp.conf? -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
[ntp:questions] [ntp:announce] ntp-4.2.8p2-RC3 is available
ntp-4.2.8p2-RC3 is available from: http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.8p2-RC3.tar.gz http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.8p2-RC3.tar.gz.md5 We are planning to release ntp-4.2.8p2 on 7 April 2015. -- Harlan Stenn st...@ntp.org http://networktimefoundation.org - be a member! ___ announce mailing list annou...@lists.ntp.org http://lists.ntp.org/listinfo/announce ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Trouble Simulating Leap Seconds
Does status printed by ntptime include INS before midnight? Any chance ntpd is started with the -x option or there is tinker step command in ntp.conf? No `tinker` commands in `ntp.conf`. `ps axf` indicates that ntpd wasn't started with any options other than -p, -u, and -g. However, `ntptime` doesn't show anything about INS. Here's the output from the server: ntp_gettime() returns code 0 (OK) time d93dab7a.1db877a0 Tue, Jun 30 2015 23:57:46.116, (.116096333), maximum error 8176001 us, estimated error 0 us, TAI offset 36 ntp_adjtime() returns code 0 (OK) modes 0x0 (), offset 0.000 us, frequency 0.000 ppm, interval 1 s, maximum error 8176001 us, estimated error 0 us, status 0x2001 (PLL,NANO), time constant 6, precision 0.001 us, tolerance 500 ppm, And from one of the clients: ntp_gettime() returns code 0 (OK) time d93dab7a.227ef9d0 Tue, Jun 30 2015 23:57:46.134, (.134750490), maximum error 1083949 us, estimated error 3910 us, TAI offset 0 ntp_adjtime() returns code 0 (OK) modes 0x0 (), offset -4478.656 us, frequency -2.141 ppm, interval 1 s, maximum error 1083949 us, estimated error 3910 us, status 0x2001 (PLL,NANO), time constant 6, precision 0.001 us, tolerance 500 ppm, ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] ntp-4.2.8p1 ntpd unable to start as service
I am not explicitly running the binary as a Windows service. But, the following command works when compiled with ntp-4.2.6p5 as x32 or x64 for Windows 7 x64bit and ntpd process runs in the background: ntpd -g -N -c ntp.conf The same command results in the mentioned error with ntp-4.2.8p1 when compiled as x32 or x64 with Windows 7 x64 bit: ntpd -g -N -c ntp.conf ntpd: unable to start as service: The service process could not connect to the service controller. Use -d, -q, -n, -?, --help or --saveconfigquit to run interactive. If I use -q, ntpd process runs but quits as expected and so I cannot that argument. Thanks again. On Thu, Apr 2, 2015 at 10:10 PM, Danny Mayer ma...@ntp.org wrote: On 4/2/2015 7:18 PM, Naren P wrote: Hello All, I was able to build ntp-4.2.6p5 dated 24-DEC-2011 with openssl-1.0.2a using VS2008 and use the same under windows 7 x64 environment without any issues. But, when I build ntp-4.2.8p1 dated 04-Feb-2015 with openssl-1.0.2a using VS2008 or VS2013 x32 or x64 bit and attempt to use the same under windows 7 x64 environment, I see the following error: ntpd -g -N -c ntp.conf ntpd: unable to start as service: The service process could not connect to the service controller. Use -d, -q, -n, -?, --help or --saveconfigquit to run interactive. There do not seem to be any changes in the ntpd arguments for the ones I am attempting to use. Could you please help me understand, what I am missing? The binary is not installed as a service. How did you set up the service? Danny -NVAP ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions