Re: [ntp:questions] ntp-4.2.8p1 ntpd unable to start as service
Hello All, I just wanted to close this topic saying that I realized that unlike ntp-4.2.6p5, we need to use the instrsrv.exe to install or remove the NTP service. Thank you. On Fri, Apr 3, 2015 at 8:12 AM, Naren P nva...@gmail.com wrote: 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
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
Re: [ntp:questions] ntp-4.2.8p1 ntpd unable to start as service
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
[ntp:questions] ntp-4.2.8p1 ntpd unable to start as service
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? -NVAP ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions