Hide
KT 3.0.7.2 was installed from the knowledgetree-ce-linux-universal-installer-3.7 with the script.
Problem:
Every task ran by the scheduler exits with a db_error:
# /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"]
This is due to the zend php not being able to locate the correct database module.
Fixed by:
# export LD_LIBRARY_PATH=/usr/local/zend/lib/
# /usr/local/zend/bin/php /usr/share/knowledgetree-ce/search2/bin/cronDocumentProcessor.php
#
This variable should be set by the installer script somehow. Most efficient would be to put a file in:
/etc/profile.d/kt_ld_library_path
with the contents:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/zend/lib/