HCL.iAutomate.EntityModel service is not starting

Table 1. iRecommend Components: Scenario 1
Issue Description HCL.iAutomate.EntityModel service is not starting
Modules Impacted EntityModel
Probable Root Cause
  • Service created through Local account.
  • Invalid “Entity.conf” file content

Resolution Steps:

  1. Check for existence of the file Entity.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 Entity.conf by checking the snippet with paths to << EntityModel_Directory>>. Verify and change the <VirtualHost *> tag with correct path entries to <<EntityModel_Directory>> as shown below. Where <<EntityModel_Directory>> is C:/HCL.iAutomate.iRecommend in the snippet from Entity.conf.
    <VirtualHost *>
    WSGIScriptAlias /iAutomate C:/HCL.iAutomate.iRecommend/entityservice.wsgi
    SSLVerifyClient require
    SSLVerifyDepth 10
    <Directory C:/HCL.iAutomate.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.EntityModel service is not starting
  5. If not, open Windows Command Prompt in Administrator mode and run the below command:
    sc config HCL.iAutomate.EntityModel obj= “ID” password= “PSWD”
    where ID is the [Domain\SA ID] and PSWD is the [Password of SA] and SA is [Service Account].
  6. Log On As’ field corresponding to the service HCL.iAutomate.EntityModel should be changed to ‘Service Account’. Click Start to start the service.