HCL.iAutomate.iRecommend service is not starting

Table 1. iRecommend: Scenario 1
Issue Description HCL.iAutomate.iRecommend service is not starting
Modules Impacted iRecommend
Probable Root Cause Invalid “iRecommend.conf” file content
Resolution Steps:
  1. Check for existence of the file iRecommend.conf at location <Apache_Root_Folder_Path>/conf.
  2. For e.g. - “C:/Apache24/conf” has <Apache_Root_Folder_Path> as “C:/Apache24”
  3. Verify the contents of file iRecommend.conf by checking the snippet with paths to << iRecommend_Directory>>. Verify and change the <VirtualHost *> tag with correct path entries to << iRecommend_Directory>> as shown below. Where << iRecommend_Directory>> is “C:/iAutomate/Middleware/iRecommend” in the snippet from iRecommend.conf.
    <VirtualHost *>
    WSGIScriptAlias /iRecommend C:/iAutomate/Middleware/iRecommend/main.wsgi
    SSLVerifyClient require
    SSLVerifyDepth 10
    <Directory C:/iAutomate/Middleware/iRecommend>
    WSGIApplicationGroup %{GLOBAL}
    Require all granted
    </Directory>
    </VirtualHost>
  4. Ensure that service was created through Service Account and not through Local account. Refer to the figure below to check the status.
    Figure 1. HCL.iAutomate.iRecommend service is not starting
  5. If not, open Windows Command Prompt in Administrator mode and run the below command:
    sc config HCL.iAutomate.iRecommend obj= “ID” password= “PSWD”
    where ID is the [Domain\SA ID] and PSWD is the [Password of SA] and SA is [Service Account].

    ‘Log On As’ field corresponding to the service HCL.iAutomate.iRecommend should be changed to ‘Service Account’. Click Start to start the service.