Hi guys,

I am looking to run Apache Solr v5.2.1 on a windows machine. I tried to setup a 
windows service using NSSM (Non-Sucking-Service-Manager) to install the windows 
service on the machine pointing to the solr.cmd file path itself and installing 
the service.

After installation, I tried to start the windows service but it gives back an 
alert message. It says \Windows could not start the SolrService service on 
Local Computer. The service  did not return an error. This could be an internal 
Windows error or an internal service error.

Most of the examples of older Apache Solr uses the java -start start.jar 
command to run Solr and seem to run okay with nssm. I am not sure if this could 
be the solr.cmd issue or NSSM's issue.

Alternatively, I have tried to use Windows Task Scheduler to configure a task 
to point to the solr.cmd as well and run task whenever the computer starts 
(regardless a user is logged in or not). The task scheduler seems to report 
back 'Task Start Failed' with Level of 'Error'.

Additionally, after checking Event Viewer, it returns the error with nssm 
Failed to open process handle for process with PID 3640 when terminating 
service Solr Service : The parameter is incorrect.

Chances this can point back to the solr.cmd file itself.

Thoughts?

Regards,
Adrian

Reply via email to