Troubleshooting Steps for iKnowledge
iKnowledge component in RunBook AI fetches knowledge articles and is hosted on Apache Web Server. If the service does not start, the issue may be caused by an invalid configuration file. To resolve this, check the existence and contents of the "iKnowledge.conf" file, and ensure that the service was created through a Service Account. If the service returns an Internal Server Error, it could be due to a missing Python package, which can be resolved by installing the package. If the service returns a "404 Resource Not Found" error, check the paths and port settings in the configuration file. If the error message "Could not get any response" appears, make sure that the HCL.iAutomate.iKnowledge service is running.
iKnowledge is the component that helps in fetching Knowledge articles based on a specific ticket context or a search query provided by the user. In a scenario where no articles are returned from existing internal repositories, iKnowledge automatically fetches the results from web-based data repositories. It is developed using python and is hosted on Apache Web Server as a service under the name HCL.iAutomate.iKnowledge.
HCL.iAutomate.iKnowledge service is not starting
Issue Description | HCL.iAutomate.iKnowledge service is not starting |
---|---|
Modules Impacted | iKnowledge |
Probable Root Cause | Invalid “iKnowledge.conf” file content |
Steps to resolve
<VirtualHost *> WSGIScriptAlias /iAutomate C:/iAutomate/Comp/HCL.iAutomate.iKnowledge/knowledge_v4/ rest.wsgi SSLVerifyClient require SSLVerifyDepth 10 <Directory C:/iAutomate/Comp/HCL.iAutomate.iKnowledge/ knowledge_v4> WSGIApplicationGroup %{GLOBAL} Require all granted </Directory> </VirtualHost>
sc config HCL.iAutomate.iKnowledge 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.iKnowledge 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 | iKnowledge |
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 iKnowledge is hit |
---|---|
Modules Impacted | iKnowledge |
Probable Root Cause |
Paths are not correct in iKnowledge.conf Port is not correct |
Steps to resolve
e.g. – Here the image below shows the port set for iKnowledge 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 iKnowledge is being hit |
---|---|
Modules Impacted | iKnowledge |
Probable Root Cause | HCL.iAutomate. iKnowledge service is not running |
Steps to resolve
|