HCL.iAutomate.RatingMongo service is not starting

Table 1. iKnowledgeRating: Scenario 1
Issue Description HCL.iAutomate.RatingMongo service is not starting
Modules Impacted iKnowledgeRating
Probable Root Cause Invalid “RatingMongo.conf” file content

Resolution Steps:

  1. Check for existence of the file RatingMongo.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 RatingMongo.conf by checking the snippet with paths to << iKnowledgeRating_Directory>>. Verify and change the <VirtualHost *> tag with correct path entries to << iKnowledgeRating_Directory>> as shown below. Where << iKnowledgeRating_Directory>> is “C:/HCL.iAutomate.iKnowledgeRating” in the snippet from RatingMongo.conf.
    <VirtualHost *>
    WSGIScriptAlias /iKnowledge C:/HCL.iAutomate.iKnowledgeRating/iKnowledge_Rating/app.wsgi
    SSLVerifyClient require
    SSLVerifyDepth 10
    <Directory C:/HCL.iAutomate.iKnowledgeRating/iKnowledge_Rating >
    WSGIApplicationGroup %{GLOBAL}
    Require all granted
    </Directory>
    </VirtualHost>
  4. Ensure that service was created through Service Account and not through Local account. Refer to below figure to check the status.
    Figure 1. HCL.iAutomate.RatingMongo
  5. If not, open Windows Command Prompt in Administrator mode and run the below command:
    sc config HCL.iAutomate.RatingMongo 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.RatingMongo should be changed to ‘Service Account’. Click Start to start the service.