None of the Scheduler’s tasks get 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"]
You can test this manually:
The problem here 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. Let’s try setting this variable manually:
Fixed! Now, this only fixes the problem in our current shell, how do we make this fix persistent system wide? By creating a file in /etc/profile.d/ setting the variable system wide:
With the contents:
Now, lets make this file executable:
Now, all that’s left to do is restart KnowledgeTree so that it reads the new content of the LD_LIBRARY_PATH variable and our problem is solved.
Bug reported to KnowledgeTree: http://issues.knowledgetree.com/browse/KTS-4576