Discussion:
zenoss 4.2.0 and postfix mysql dep
Zombie Process
2012-12-17 23:07:06 UTC
Permalink
Zombie Process [http://community.zenoss.org/people/Zombie_Process] created the discussion

"zenoss 4.2.0 and postfix mysql dep"

To view the discussion, visit: http://community.zenoss.org/message/70605#70605

--------------------------------------------------------------
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:

[code]
| 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 |
[/code]

However, now postfix won't start:

[code]
# postfix
postfix: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
[/code]

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:

[code]
# 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
[/code]


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.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70605#70605]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Zombie Process
2012-12-18 00:51:00 UTC
Permalink
Zombie Process [http://community.zenoss.org/people/Zombie_Process] created the discussion

"Re: zenoss 4.2.0 and postfix mysql dep"

To view the discussion, visit: http://community.zenoss.org/message/70606#70606

--------------------------------------------------------------
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.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70606#70606]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Philip Warren
2012-12-18 01:38:21 UTC
Permalink
Philip Warren [http://community.zenoss.org/people/pwarren] created the discussion

"Re: zenoss 4.2.0 and postfix mysql dep"

To view the discussion, visit: http://community.zenoss.org/message/70616#70616

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70616#70616]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Zombie Process
2012-12-18 15:57:56 UTC
Permalink
Zombie Process [http://community.zenoss.org/people/Zombie_Process] created the discussion

"Re: zenoss 4.2.0 and postfix mysql dep"

To view the discussion, visit: http://community.zenoss.org/message/70614#70614

--------------------------------------------------------------
Perfect - thanks.  Missed the not-so-subtle diff between "shared" and "shared-compat".
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70614#70614]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
kgtyroll
2012-12-30 15:26:22 UTC
Permalink
kgtyroll [http://community.zenoss.org/people/kgtyroll] created the discussion

"Re: zenoss 4.2.0 and postfix mysql dep"

To view the discussion, visit: http://community.zenoss.org/message/70731#70731

--------------------------------------------------------------
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 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 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 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 ftp://mirror2.dataphone.se/pub/mysql/Downloads/MySQL-5.5/MySQL-shared-5.5.28-1.el6.x86_64.rpm
yum install localinstall MySQL*
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70731#70731]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...