[ntp:questions] ntp-4.2.8p1 ntpd unable to start as service

Naren P nvap23 at gmail.com
Fri Apr 3 13:12:21 UTC 2015


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 <mayer at 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 at lists.ntp.org
> > http://lists.ntp.org/listinfo/questions
> >
> >
>
>


More information about the questions mailing list