Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 850
Dragi Postolovski Avatar asked Apr 13 '17 11:04

Dragi Postolovski


People also ask

How do I start Solr on Windows?

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.

How do I run Solr in debug mode?

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.


1 Answers

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.

like image 56
OyeHarish Avatar answered Sep 22 '22 20:09

OyeHarish