Solr in Component Services shows paused and can't start on Windows

Dragi Postolovski picture Dragi Postolovski · Apr 13, 2017 · Viewed 7.1k times · Source

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:

enter image description here

Answer

OyeHarish picture OyeHarish · Dec 21, 2018

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

enter image description here

It installed solr service and solr service run well now.