This resource is for KnowledgeTree community members. Commercial Customers can log new support cases via the KnowledgeTree Support Portal


KnowledgeTree Community Edition

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

Details

  • Type: Bug Bug
  • Status: Unconfirmed Unconfirmed
  • Priority: Priority Two: Fix in current sprint Priority Two: Fix in current sprint
  • Resolution: Unresolved
  • Affects Version/s: 3.7.0.2
  • Fix Version/s: None
  • Component/s: Installer: UNIX/Linux
  • 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/
    Show
    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/
  • Environment:
    Distributor ID: CentOS
    Description: CentOS release 5.3 (Final)
    Release: 5.3
    Codename: Final

Activity

Hide
Megan Watson added a comment - 23/Feb/10 07:53 AM
Thanks, that seems to work well!
Show
Megan Watson added a comment - 23/Feb/10 07:53 AM Thanks, that seems to work well!

People

Dates

  • Created:
    27/Jan/10 02:51 PM
    Updated:
    23/Feb/10 07:53 AM