Saturday, 9 December 2017

Windows could not start the solr service on Local Computer: Sitecore 9 Installation

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!!!

Friday, 8 December 2017

Sitecore 9 Installation Scaffolding things

sitecore9-scaffolding

Sitecore 9 is the biggest announcement from sitecore.
And while doing the installation process on your system, it is necessary that all the prequiestics are there as well as at their right place. And here scaffolding will make more sense. Below is my observations and scaffolding things for Sitecore Instance.

Sitecore Instance Directory 
will contains:
 SIF(If doing installation things with the help of SIFLess.exe) / final script for Sitecore Installation
solrssl.ps1 (to generate ssl for solr).

Sitecore Repository Directory

Configs
extracted files of the configs file(XP0 Configuration files rev.171002.zip)
   License
License.xml
Solr
extracted file of the solr (solr-6.6.x.zip)
NSSM
extracted files of the nssm (nssm 2.24.zip)

Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip

Sitecore 9.0.0 rev. 171002 (OnPrem)_single.scwdp.zip

SitecoreInstallFramework 1.0 rev. 171003.zip

With this way suppose in future we need more instances then we required to create only Another Sitecore Instance Directory and add SIF, Else everything it will take from Sitecore Repository.


Let me know your valuable feedbacks.

Have a Good Day!!!