While Creating solr service with nssm-2.24.zip then service is created by but while trying to restart/start getting error as
Windows could not start the solr service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator.
I also faced same issue and to fix this here we have two approaches:
First one is - Please make sure command prompt is closed (where earlier you may ran solr start ), if not closed then first close the command prompt and then again restart solr service. It will work.
Second approach will have below steps:
1. from the cmd (as admin) at the path ~/nssm-2.24/win64 run the command as
> nssm remove solr
Now check from services that solr service is removed or not, if not
then firstly stop solr service from service setting manually and then run the above command hope will work.
2. after this, remove the existing nssm-2.24(from directory) and download this version of NSSM and extract at the same place.
3. now again create the solr service via this nssm version Issue will be resolved.
Let me know if any issue.
Have a Good Day!!!
Windows could not start the solr service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator.
I also faced same issue and to fix this here we have two approaches:
First one is - Please make sure command prompt is closed (where earlier you may ran solr start ), if not closed then first close the command prompt and then again restart solr service. It will work.
Second approach will have below steps:
1. from the cmd (as admin) at the path ~/nssm-2.24/win64 run the command as
> nssm remove solr
Now check from services that solr service is removed or not, if not
then firstly stop solr service from service setting manually and then run the above command hope will work.
2. after this, remove the existing nssm-2.24(from directory) and download this version of NSSM and extract at the same place.
3. now again create the solr service via this nssm version Issue will be resolved.
Let me know if any issue.
Have a Good Day!!!