Hi Miller,

Yes, I managed to get the zookeeper to start as a service on Windows in
Windows 8 running Java 8. However, it didn't work on Windows Server 2008 R2
(SP1) when I upgrade the Java to Java 8. It is able to work when the server
is running on Java 7.

Regards,
Edwin



On 26 May 2015 at 23:54, Will Miller <wmil...@fbbrands.com> wrote:

> I am using NSSM to start zookeeper as a service on windows (and for Solr
> too).
>
> in NSSM I configured it to just point to to
> E:\zookeeper-3.4.6\bin\zkServer.cmd.
>
> As long as you can run that from the command line to validate that you
> have modified all of the zookeeper config files correctly, NSSM should have
> no problem starting up zookeeper.
>
>
>
> Will Miller
> Development Manager, eCommerce Services | Online Technology
> 462 Seventh Avenue, New York, NY, 10018
> Office: 212.502.9323 | Cell: 317.653.0614
> wmil...@fbbrands.com | www.fbbrands.com
>
> ________________________________________
> From: Upayavira <u...@odoko.co.uk>
> Sent: Monday, May 25, 2015 4:10 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Running Solr 5.1.0 as a Service on Windows
>
> Zookeeper is just Java, so there's no reason why it can't be started in
> Windows.
>
> However, the startup scripts for Zookeeper on Windows are pathetic, so
> you are much more on your own than you are on Linux.
>
> There may be folks here who can answer your question (e.g. with Windows
> specific startup scripts), or you might consider asking on the Zookeeper
> mailing lists directly: https://zookeeper.apache.org/lists.html
>
> Upayavira
>
> On Mon, May 25, 2015, at 10:34 AM, Zheng Lin Edwin Yeo wrote:
> > I've managed to get the Solr started as a Windows service after
> > re-configuring the startup script, as I've previously missed out some of
> > the custom configurations there.
> >
> > However, I still couldn't get the zookeeper to start the same way too.
> > Are
> > we able to use NSSM to start up zookeeper as a Microsoft Windows service
> > too?
> >
> >
> > Regards,
> > Edwin
> >
> >
> >
> > On 25 May 2015 at 12:16, Zheng Lin Edwin Yeo <edwinye...@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > Has anyone tried to run Solr 5.1.0 as a Microsoft Windows service?
> > >
> > > i've tried to follow the steps from this website
> > > http://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/,
> which
> > > uses NSSM.
> > >
> > > However, when I tried to start the service from the Component Services
> in
> > > the Windows Control Panel Administrative tools, I get the following
> message:
> > > Windows could not start the Solr5 service on Local Computer. The
> service
> > > did not return an error. This could be an internal Windows error or an
> > > internal service error.
> > >
> > > Is this the correct way to set it up, or is there other methods?
> > >
> > >
> > > Regards,
> > > Edwin
> > >
> > >
>

Reply via email to