somethings wrong with loading libs [SOLVED]

Support/Development for PHP
rembrandt
Forum User
Forum User
Posts: 27
Joined: Sat Oct 29, 2005 7:26 am
Location: Netherlands
Contact:

somethings wrong with loading libs [SOLVED]

Unread post by rembrandt »

Just checking the error logs on one server i noticed something weird in /var/log/httpd/error_log:

Unable to load dynamic library './domxml.so' - ./domxml.so:
Unable to load dynamic library './imap.so' - ./imap.so:
Unable to load dynamic library './mbstring.so' - ./mbstring.so:
Unable to load dynamic library './mysql.so' - ./mysql.so:
Unable to load dynamic library './pgsql.so' - ./pgsql.so:

However all libraryies are here:

/usr/lib/php4/

because all these packages are installed (version 4.4.1):

php
php-domxml
php-imap
php-mbstring
php-mysql
php-pear
php-pgsql

One thing that´s not working properly now (which i know of) is Horde. Has anybody got a suggestion how to revolve this problem?

**update**
Well i´ve managed to get the libraries loaded (i think) but when accessing horde it still isn´t working propperly. In /var/log/psa-horde is get this:

Code: Select all

HORDE [emergency] [horde] DB Error: connect failed:
[nativecode=Client does not support authentication protocol requested by server;
consider upgrading MySQL client]
** Array [on line 1329 of "/usr/share/psa-horde/lib/Horde/DataTree/sql.php"]
The odd thing is all MySQL and PHP packages are the latest 'flavors'


*** Problem solved ***Here´s the solution:

Code: Select all

This is related to the mismatch of horde password stored in the /etc/psa/.webmail.shadow file and in MySQL database. To fix this issue you can:
- run "cat /etc/psa/.webmail.shadow" to see expected webmail password;

- run mysql shell:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` mysql

- run mysql statement to change passwd for horde user:
update user set Password=PASSWORD("HORDE_PASS") where User = "horde";

where HORDE_PASS needs to be replaced with the result of previously executed cat /etc/psa/.webmail.shadow command.

- run mysql statement to reload grant tables:
flush privileges;
Best regards
Post Reply