Dec 17, 2012 6:09 PM
zenoss 4.2.0 and postfix mysql dep
-
Like (0)
Hi Folks,
I've just completed a clean manual install (not using the auto-install script) of 4.2.0 on centos 6.3, and am running into a hell of a dep issue with mysql, zenoss, and postfix. I've installed all of the MySQL stuff indicated in the install docs:
MySQL-client.x86_64 | 5.5.28-1.el6 | @/MySQL-client-5.5.28-1.el6.x86_64 |
MySQL-server.x86_64 | 5.5.28-1.el6 | @/MySQL-server-5.5.28-1.el6.x86_64 |
MySQL-shared.x86_64 | 5.5.28-1.el6 | @/MySQL-shared-5.5.28-1.el6.x86_64 |
However, now postfix won't start:
# postfix
postfix: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
Obviously the "shared" package isn't handling the requests for libmysqlclient.so.16 - not surprising since, according ro rpm at least, it only provides .18 files:
# rpm -ql MySQL-shared-5.5.28-1.el6.x86_64
/usr/lib64/libmysqlclient.so
/usr/lib64/libmysqlclient.so.18
/usr/lib64/libmysqlclient.so.18.0.0
/usr/lib64/libmysqlclient_r.so
/usr/lib64/libmysqlclient_r.so.18
/usr/lib64/libmysqlclient_r.so.18.0.0
I have seen a few mentions of this on the forums here, but no solutions. Anyone have an idea how I might fix this? Reinstalling postfix sneaks mysql-libs in with the install, strangely not complaining about deps, so that's not really an option.
PS - how to I indicate code or quote tags on this BBS?
Oh, and I get:
Warning: RPMDB altered outside of yum.
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of mysql-libs
in my yum output every time I do anything with it at this point. An amazing number of things depend on postfix, including zenoss. I'm trying to figure out if I've managed to break something in a strange way, or what here.
This library is provided by the MySQL-shared-compat package. Download and install the 'MySQL-shared-compat-5.5.28-1.el6.x86_64.rpm' file and this dependency should be resolved.
-- Philip
Perfect - thanks. Missed the not-so-subtle diff between "shared" and "shared-compat".
Hi guys
I just tried installing Zenoss manually on a new CentOS 6.3, and the new version of MySQL is 5.5.29. Of course this doesn't work. Shared and Shared-Compat won't install together.
I tried finding the 5.5.28 and it installed succesfully as you guys tried. So just wanted to state that 5.5.29 is a new problem.
To help others I just wanted to post links to an archive with the files. Hopefully it will keep the files for a while.
wget ftp://mirror2.dataphone.se/pub/mysql/Downloads/MySQL-5.5/MySQL-client-5.5.28-1.el6.x86_64.rpm
wget ftp://mirror2.dataphone.se/pub/mysql/Downloads/MySQL-5.5/MySQL-server-5.5.28-1.el6.x86_64.rpm
wget ftp://mirror2.dataphone.se/pub/mysql/Downloads/MySQL-5.5/MySQL-shared-compat-5.5.28-1.el6.x86_64.rpm
wget ftp://mirror2.dataphone.se/pub/mysql/Downloads/MySQL-5.5/MySQL-shared-5.5.28-1.el6.x86_64.rpm
yum install localinstall MySQL*
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||