I followed every step, but I can start the solr service. It says 'paused.
https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/
I get the following error:
If you are running Windows, you can start Solr by running bin\solr. cmd instead. This will start Solr in the background, listening on port 8983. When you start Solr in the background, the script will wait to make sure Solr starts correctly before returning to the command line prompt.
Right click on your Solr/Lucene Java project and select Debug As and then Debug Configurations . Under the Remote Java Application category. Click New to create a new debug configuration. Enter in the port we just specified to Java at the command line – 1044.
I was also running with same problem. Solr service was installed successfully. Then it got paused and tried resuming but it throws an alert to check with administrator. I checked Java version and Java-Home path both were correct. Then I reinstall the service but again it got into same situation. Later I found out on article which say to use:
start -f -p 8983
to use in argument while installation and it did the trick now it is working fine. So basically when you run commnad
nssm install <solrSerivceName>
it prompt for NSSM service installer
It installed solr service and solr service run well now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With