Troubleshooting Steps for iKnowledgeIndexer (Advanced Knowledge component)
Troubleshooting steps for iKnowledgeIndexer (Advanced Knowledge component) including resolving issues related to service not starting, internal server errors, "could not get any response" errors, "404 Resource Not Found" errors, data not getting indexed, and "Solr task failed" errors.
iKnowledgeIndexer is an AdvancediKnowledge component that performs indexing over the data crawled by iCrawler and stores the indexed data in the database. It is a component developed using python and is hosted on Apache Web Server as a service under the name HCL.iAutomate.iKnowledgeIndexer.
HCL.iAutomate.iKnowledgeIndexer service is not starting
Issue Description | HCL.iAutomate.iKnowledgeIndexer service is not starting |
---|---|
Modules Impacted | iKnowledgeIndexer |
Probable Root Cause | Invalid “iKnowledgeIndexer.conf” file content |
Steps to resolve
<VirtualHost *> WSGIScriptAlias /iAutomate C:/iAutomate/Comp/HCL.iAutomate.iParse /IParse/iparse/app.wsgi SSLVerifyClient require SSLVerifyDepth 10 <Directory C:/iAutomate/Comp/HCL.iAutomate.iParse/IParse/iparse> WSGIApplicationGroup %{GLOBAL} Require all granted </Directory> </VirtualHost>
sc config HCL.iAutomate.iKnowledgeIndexer 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.iKnowledgeIndexer should be changed to ‘Service Account’. Click Start to start the service. |
Service returns Internal Server Error - status code 500
Issue Description | Service is reachable but returns Internal Server Error with status code 500 |
---|---|
Modules Impacted | iKnowledgeIndexer |
Probable Root Cause | Python package not available |
Steps to resolve |
pip install package_name
pip install package_name.whl |
‘Could not get any response’
Issue Description | Error message ‘Could not get any response’ appears when iKnowledgeIndexer is being hit |
---|---|
Modules Impacted | iKnowledgeIndexer |
Probable Root Cause | HCL.iAutomate.iKnowledgeIndexer service is not running |
Steps to resolve
|
‘404 Resource Not Found’
Issue Description | Error message ‘404 Resource Not Found’ when iKnowledgeIndexer is hit |
---|---|
Modules Impacted | iKnowledgeIndexer |
Probable Root Cause |
|
Steps to resolve
e.g. – Here the image below shows the port set for KnowledgeIndexer component is 9000 # Listen 9000 # ports, instead of the default. See also the <VirtualHost> # directive
|
Data not getting indexed
Issue Description | Data is not getting indexed |
---|---|
Modules Impacted | iKnowledge |
Probable Root Cause | Python package is not available or having different version |
Steps to resolve
|
“Solr task failed”
Issue Description | Error message “Solr task failed” comes, when iKnowledgeIndexer is hit |
---|---|
Modules Impacted | iKnowledge |
Probable Root Cause | This might be an issue related to Solr username and password are not configured correct. |
Steps to resolve |
|