1

Topic: Iredadmin Not Running

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====OS: Freebsd 8.1

After upgrade of ports to a newer version of Mysql, the Admin panel has stopped working, it complains about a shared library:
libmysqlclient_r.so.15" not found, required by "_mysql.so"

libmysqlclient_r.so.16" actually now exists :

How can i fix this ?


[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97] Traceback (most recent call last):
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]   File "/usr/local/www/iredadmin/iredadmin.py", line 9, in <module>
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]     from libs import iredbase
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]   File "/usr/local/www/iredadmin/libs/iredbase.py", line 100, in <module>
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]     pw=cfg.iredadmin.get('passwd'),
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]   File "/usr/local/lib/python2.6/site-packages/web/db.py", line 1143, in database
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]     return _databases[dbn](**params)
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]   File "/usr/local/lib/python2.6/site-packages/web/db.py", line 975, in __init__
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]     import MySQLdb as db
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]   File "build/bdist.freebsd-8.1-RELEASE-amd64/egg/MySQLdb/__init__.py", line 19, in <module>
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]   File "build/bdist.freebsd-8.1-RELEASE-amd64/egg/_mysql.py", line 7, in <module>
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97]   File "build/bdist.freebsd-8.1-RELEASE-amd64/egg/_mysql.py", line 6, in __bootstrap__
[Wed Oct 09 19:17:26 2013] [error] [client 202.129.231.97] ImportError: Shared object "libmysqlclient_r.so.15" not found, required by "_mysql.so"
[Wed Oct 09 19:17:26 2013] [error] Exception KeyError: KeyError(34384921024,) in <module 'threading' from '/usr/local/lib/python2.6/threading.pyc'> ignored

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Iredadmin Not Running

Does reinstall port databases/py-MySQLdb fix this issue?

3

Re: Iredadmin Not Running

Solution:

- going back to python26
- doing a symlink libmysqlclient_r.so.15 to libmysqlclient_r.so.16
- copying libmysqlclient_r.so.15 from another server and plcaing it in the complaining places
- re-installing py-MySQLdb

rein

4

Re: Iredadmin Not Running

Only this error is still in the logs:

[Fri Oct 11 11:09:10 2013] [error] Exception KeyError: KeyError(34384921024,) in <module 'threading' from '/usr/local/lib/python2.6/threading.pyc'> ignored

Not too sure why ?

5

Re: Iredadmin Not Running

This message doesn't  matter.