Troubleshooting Steps for iKnowledgeSearch (Advanced Knowledge component)
Troubleshooting steps for resolving common issues with iKnowledgeSearch, including starting the service, resolving invalid configuration file content, resolving missing Python packages, correcting incorrect paths and ports, and ensuring the iKnowledgeSearch service is running.
iKnowledgeSearch is an Advanced iKnowledge component that enables a user to perform document search based on search query. It is a component developed using python and is hosted on Apache Web Service as a service under the name HCL.iAutomate.iKnowledgeSearch.
HCL.iAutomate.iKnowledgeSearch service is not starting
Issue Description | HCL.iAutomate.iKnowledgeSearch service is not starting |
---|---|
Modules Impacted | iKnowledgeSearch |
Probable Root Cause | Invalid “iKnowledgeSearch.conf” file content |
Steps to resolve
For e.g. - “C:/Apache24/conf” has <Apache_Root_Folder_Path> as “C:/Apache24”
<VirtualHost *> WSGIScriptAlias /iKnowledge C:/HCL.iAutomate.AdvancediKnowledge/iKnowldege_Search/search_main.wsgi SSLVerifyClient require SSLVerifyDepth 10 <Directory C:/HCL.iAutomate.AdvancediKnowledge/iKnowledge_Search> WSGIApplicationGroup %{GLOBAL} Require all granted </Directory> </VirtualHost>
sc config HCL.iAutomate.iKnowledgeSearch 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.iKnowledgeSearch 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 | iScript |
Probable Root Cause | Python package not available |
Steps to resolve
pip install package_name
pip install package_name.whl |
‘404 Resource Not Found’
Issue Description | Error message ‘404 Resource Not Found’ when iKnowledgeSearch is hit |
---|---|
Modules Impacted | iKnowledgeSearch |
Probable Root Cause |
|
Steps to resolve
e.g. – Here the image below shows the port set for iKnowledgeSearch component is 9000. # Listen 9000 # ports, instead of the default. See also the <VirtualHost> # directive
|
‘Could not get any response’
Issue Description | Error message ‘Could not get any response’ appears when iKnowledgeSearch is being hit. |
---|---|
Modules Impacted | iKnowledgeSearch |
Probable Root Cause | HCL.iAutomate. iKnowledgeSearch service is not running |
Steps to resolve
|