Hi Valery,

On my FreeBSD, /usr/local/lib/mysql is scanned by ldconfig.  Try running

   $ ldconfig -r

Read up on ldconfig and see if you can get it to include /usr/local/lib/mysql.

Alternatively, ask Google. The query "libmysqlclient_r.so.15 freebsd" seems to provide some useful links.

-Eric


Valery V.Bobrov wrote:
Hello!
I faced the following very strange problem.
Server OS FreeBSD 6.1
I rebooted server after that Zenoss does not work!?
The reason is ImportError: Shared object "libmysqlclient_r.so.15" not found, 
required by "_mys

but I run only reboot command! server restarted and that's all, no changes made 
on the server


/usr/local/zenoss/bin > ./zenoss status Daemon: zeoctl program running; pid=56863 Daemon: zopectl program running; pid=56867 Daemon: zenxevent not running Daemon: zenmodeler program running; pid=56878 Daemon: zenperfsnmp program running; pid=56893 Daemon: zenperfxmlrpc program running; pid=56900 Daemon: zenprocess program running; pid=56902 Daemon: zenping not running Daemon: zensyslog program running; pid=56823 Daemon: zenstatus not running Daemon: zenactions not running Daemon: zentrap not running Daemon: zencommand program running; pid=56938
When I try to start zenping, for example, I can see
/usr/local/zenoss/bin > ./zenping start
starting... /usr/local/zenoss/bin > [=2S./zenping status not running /usr/local/zenoss/bin > [=2S./zenping run [=STraceback (most recent call last): File "/usr/local/zenoss/Products/ZenStatus/zenping.py", line 333, in ? pm = ZenPing() File "/usr/local/zenoss/Products/ZenStatus/zenping.py", line 65, in __init__ component="zenping")) File "/usr/local/zenoss/Products/ZenStatus/zenping.py", line 70, in sendEvent self.zem.sendEvent(evt) File "/usr/local/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 85, in sen dEvent db = self.connect() File "/usr/local/zenoss/Products/ZenEvents/DbAccessBase.py", line 15, in conne ct import MySQLdb File "/usr/local/zenoss/Products/ZenStatus/__init__.py", line 27, in ? ImportError: Shared object "libmysqlclient_r.so.15" not found, required by "_mys ql.so" I explorered the log files and I found out that this message appeared 2007-01-11 20:56:02 ERROR zen.ZenSyslog: Shared object "libmysqlclient_r.so.15" not found, required by "_mysql.so" 2007-01-11 20:57:02 ERROR zen.ZenSyslog: Shared object
Thereis library libmysqlclient_r.so.15    in the system!!
/usr/local/lib/mysql > ls -lt total 2828 -r--r--r-- 1 root wheel 6674 Jan 2 19:51 libvio.a -r--r--r-- 1 root wheel 41836 Jan 2 19:51 libheap.a -r--r--r-- 1 root wheel 315662 Jan 2 19:51 libmyisam.a -r--r--r-- 1 root wheel 24906 Jan 2 19:51 libmyisammrg.a -r--r--r-- 1 root wheel 10384 Jan 2 19:51 libdbug.a -r--r--r-- 1 root wheel 265028 Jan 2 19:51 libmysys.a -r--r--r-- 1 root wheel 259694 Jan 2 19:51 libmystrings.a -rw-r--r-- 1 root wheel 477722 Dec 25 22:59 libmysqlclient.a -rwxr-xr-x 1 root wheel 860 Dec 25 22:59 libmysqlclient.la lrwxr-xr-x 1 root wheel 20 Dec 25 22:59 libmysqlclient.so -> libmysqlclie nt.so.15 -rwxr-xr-x 1 root wheel 409247 Dec 25 22:59 libmysqlclient.so.15 -rw-r--r-- 1 root wheel 484658 Dec 25 22:59 libmysqlclient_r.a -rwxr-xr-x 1 root wheel 892 Dec 25 22:59 libmysqlclient_r.la lrwxr-xr-x 1 root wheel 22 Dec 25 22:59 libmysqlclient_r.so -> libmysqlcl ient_r.so.15 -rwxr-xr-x 1 root wheel 414719 Dec 25 22:59 libmysqlclient_r.so.15
What it could be?
Can asomeone help me?
How can I solve the problem?

Thank you
    Valery


------------------------------------------------------------------------

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to