Known Issue - KnowledgeTree universal installer problems on CentOS

From KnowledgeTree Community

Jump to: navigation, search

Contents

Description

When installing or migrating from KnowledgeTree 3.6.x to 3.7.x on CentOS using the KnowledgeTree universal installer there may be an issue with none of the Scheduler's tasks getting executed correctly.

All the tasks exit with the following errorcode:

[db_error: message="DB Error: extension not found" code=-25 mode=return level=notice prefix="" info="Array"] 


Affected Installations


How to resolve this issue

You can test this manually:

# /usr/local/zend/bin/php /usr/share/knowledgetree-ce/search2/bin/cronDocumentProcessor.php
[db_error: message="DB Error: extension not found" code=-25 mode=return level=notice prefix="" info="Array"]

The problem is that the variable LD_LIBRARY_PATH is not set correctly, causing the zend php binary not being able to find the correct database module.

This variable can be set manually:

# export LD_LIBRARY_PATH=/usr/local/zend/lib/
# /usr/local/zend/bin/php /usr/share/knowledgetree-ce/search2/bin/cronDocumentProcessor.php
#

This should fix the problem in the current shell. Now to fix this system wide, create a file in /etc/profile.d/ setting the variable system wide:

# vi /etc/profile.d/kt.sh

With the contents:

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/zend/lib/

The file must then be made executable:

# chmod +x /etc/profile.d/kt.sh

To complete this fix, restart KnowledgeTree so that it reads the new content of the LD_LIBRARY_PATH variable.


Support

Please email any questions regarding this issue to support@knowledgetree.com.

Personal tools