History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: KTS-4576
Type: Bug Bug
Status: Unconfirmed Unconfirmed
Priority: Priority Two: Important Priority Two: Important
Assignee: KnowledgeTree Queue User
Reporter: Bert Deferme
Votes: 0
Watchers: 1
Available Workflow Actions

Confirm Issue
Operations

If you were logged in you would be able to see more operations.
KnowledgeTree Community Edition

None of the scheduler's tasks complete succesfully after migration from 3.0.6 to 3.0.7.2

Created: 27/Jan/10 02:51 PM   Updated: 23/Feb/10 07:53 AM
Component/s: Installer: UNIX/Linux, Core, PHP5/MySQL5
Affects Version/s: 3.7.0.2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
Distributor ID: CentOS
Description: CentOS release 5.3 (Final)
Release: 5.3
Codename: Final

Fix impact: Scheduler
Issue Source Release: 3.0.7.2


 Description  « 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/


 All   Comments   Work Log   Change History      Sort Order:
Megan Watson - [23/Feb/10 07:53 AM ]
Thanks, that seems to work well!