RE: *** MySQL library could not be located... ****

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: RE: *** MySQL library could not be located... ****

Post by jdalrymple »

symphonynagios wrote:

Code: Select all

OS: lnx0035:root# cat /etc/redhat-release
CentOS release 6.3 (Final)
Then this:
symphonynagios wrote:

Code: Select all

lnx0035:root# cat /etc/*release
CentOS release 6.4 (Final)
CentOS release 6.3 (Final)
Template Name = TMPL_CENTOS-6.3_x64_0113
CentOS release 6.4 (Final)
CentOS release 6.4 (Final)
lnx0035:root#
What's the story with this system? I've never seen centos-release differ from redhat-release and I'm not sure why it would, they come from the same place? Are you sure you don't want to just rebuild this box - it has some mysterious behavior.

If you want to brave on, post the results of rpm -qa here.
symphonynagios
Posts: 14
Joined: Wed Jan 28, 2015 2:05 pm

Re: RE: *** MySQL library could not be located... ****

Post by symphonynagios »

lnx0035:root# cat /etc/redhat-release
CentOS release 6.4 (Final)
symphonynagios
Posts: 14
Joined: Wed Jan 28, 2015 2:05 pm

Re: RE: *** MySQL library could not be located... ****

Post by symphonynagios »

gcc-gfortran-4.4.7-11.el6.x86_64
iputils-20071127-16.el6.x86_64
pulseaudio-module-x11-0.9.21-14.el6_3.x86_64
compat-openmpi-1.4.3-1.el6.x86_64
glibc-2.12-1.107.el6.i686
mysql-server-5.1.73-3.el6_5.x86_64
parted-2.1-18.el6.x86_64
pixman-0.18.4-1.el6_0.1.x86_64
gettext-libs-0.17-16.el6.x86_64
rarian-0.8.1-5.1.el6.x86_64
subversion-1.6.11-7.el6.x86_64
TIVsm-API-5.5.3-0.i386
mpfr-2.4.1-6.el6.x86_64
libtool-2.2.6-15.5.el6.x86_64
php-cli-5.3.3-22.el6.x86_64
m17n-lib-1.5.5-2.el6_1.1.x86_64
PackageKit-device-rebind-0.5.8-20.el6.x86_64
perl-XML-Twig-3.34-1.el6.noarch
dash-0.5.5.1-3.1.el6.x86_64
system-setup-keyboard-0.7-4.el6.x86_64
numpy-1.4.1-9.el6.x86_64
libtirpc-0.2.1-5.el6.x86_64
pinfo-0.6.9-12.el6.x86_64
libselinux-devel-2.0.94-5.3.el6.x86_64
wavpack-4.60-1.1.el6.x86_64
nss-util-3.13.5-1.el6_3.x86_64
ntpdate-4.2.4p8-2.el6.centos.x86_64
php-pdo-5.3.3-22.el6.x86_64
libffi-3.0.5-3.2.el6.x86_64
libgweather-2.28.0-5.el6.x86_64
rcs-5.7-37.el6.x86_64
system-config-firewall-base-1.2.27-5.el6.noarch
readline-6.0-4.el6.x86_64
libbonoboui-2.24.2-3.el6.x86_64
liboil-0.3.16-4.1.el6.x86_64
wget-1.12-1.8.el6.x86_64
blktrace-1.0.1-6.el6.x86_64
gnome-python2-gnome-2.28.0-3.el6.x86_64
libssh2-1.2.2-11.el6_3.x86_64
swig-1.3.40-6.el6.x86_64
perl-Params-Check-0.26-129.el6.x86_64
python-iniparse-0.3.1-2.1.el6.noarch
gnome-python2-applet-2.28.0-4.el6.x86_64
nfs4-acl-tools-0.3.3-6.el6.x86_64
compat-readline5-5.2-17.1.el6.x86_64
perl-Object-Accessor-0.34-129.el6.x86_64
perl-ExtUtils-CBuilder-0.27-129.el6.x86_64
python-beaker-1.3.1-6.el6.noarch
file-5.04-13.el6.x86_64
libpanelappletmm-2.26.0-3.el6.x86_64
compat-libgfortran-41-4.1.2-39.el6.x86_64
perl-IO-Zlib-1.09-129.el6.x86_64
nss-softokn-3.12.9-11.el6.x86_64
ql2100-firmware-1.19.38-3.1.el6.noarch
perl-Time-Piece-1.15-129.el6.x86_64
python-nose-0.10.4-3.1.el6.noarch
procps-3.2.8-23.el6.x86_64
xorg-x11-drv-evdev-2.6.0-2.el6.x86_64
vmware-open-vm-tools-xorg-utilities-8.3.12-493255.el6.x86_64
rt61pci-firmware-1.2-7.el6.noarch
python-libs-2.6.6-36.el6.x86_64
fontpackages-filesystem-1.41-1.1.el6.noarch
xorg-x11-drv-r128-6.8.1-3.el6.x86_64
cracklib-dicts-2.8.16-4.el6.x86_64
man-pages-3.22-17.el6.noarch
libudev-147-2.46.el6.x86_64
libXext-1.1-3.el6.x86_64
phonon-backend-gstreamer-4.6.2-24.el6.x86_64
xorg-x11-drv-cirrus-1.3.2-2.el6.x86_64
dbus-libs-1.2.24-7.el6_3.x86_64
procps-3.2.8-25.el6.x86_64
xorg-x11-drv-nv-2.1.18-2.el6.x86_64
dbus-x11-1.2.24-7.el6_3.x86_64
ConsoleKit-libs-0.4.1-3.el6.x86_64
plymouth-scripts-0.8.3-27.el6.centos.x86_64
libXcomposite-0.4.1-2.el6.x86_64
pcre-7.8-4.el6.x86_64
xorg-x11-drv-hyperpen-1.4.1-2.el6.x86_64
plpa-libs-1.3.2-2.1.el6.x86_64
xkeyboard-config-2.6-6.el6.noarch
xorg-x11-drv-i128-1.3.4-1.el6.x86_64
lm_sensors-libs-3.1.1-10.el6.x86_64
libXdmcp-1.1.1-3.el6.x86_64
pygtk2-libglade-2.16.0-3.el6.x86_64
libreport-plugin-reportuploader-2.0.9-5.el6.centos.x86_64
systemtap-runtime-1.7-5.el6_3.1.x86_64
ppp-2.4.5-5.el6.x86_64
plymouth-plugin-two-step-0.8.3-27.el6.centos.x86_64
evolution-data-server-2.28.3-15.el6.x86_64
abrt-tui-2.0.8-6.el6.centos.x86_64
fipscheck-lib-1.2.0-7.el6.x86_64
brasero-2.28.3-6.el6.x86_64
libreport-plugin-rhtsupport-2.0.9-15.el6.centos.x86_64
ca-certificates-2010.63-3.el6_1.5.noarch
rpm-libs-4.8.0-27.el6.x86_64
poppler-glib-0.12.4-3.el6_0.1.x86_64
rpm-4.8.0-32.el6.x86_64
PackageKit-yum-plugin-0.5.8-20.el6.x86_64
wacomexpresskeys-0.4.2-3.el6.x86_64
libXpm-3.5.8-2.el6.x86_64
abrt-addon-python-2.0.8-15.el6.centos.x86_64
gnote-0.6.3-3.el6.x86_64
emacs-23.1-21.el6_2.3.x86_64
nss_compat_ossl-0.9.6-1.el6.x86_64
festival-lib-1.96-18.el6.x86_64
authconfig-gtk-6.1.12-13.el6.x86_64
libselinux-utils-2.0.94-5.3.el6.x86_64
gdm-plugin-fingerprint-2.30.4-33.el6_3.2.x86_64
file-roller-2.28.2-6.el6.x86_64
perl-DBIx-Simple-1.32-3.el6.noarch
gstreamer-plugins-bad-free-0.10.19-2.el6.x86_64
bind-libs-9.8.2-0.17.rc1.el6.x86_64
tcp_wrappers-libs-7.6-57.el6.x86_64
gvfs-afc-1.4.3-12.el6.x86_64
GConf2-gtk-2.28.0-6.el6.x86_64
policycoreutils-2.0.83-19.30.el6.x86_64
centos-release-6-3.el6.centos.9.x86_64
device-mapper-libs-1.02.74-10.el6_3.3.x86_64
seahorse-2.28.1-4.el6.x86_64
at-3.1.10-43.el6_2.1.x86_64
perl-XML-Parser-2.36-7.el6.x86_64
pinentry-gtk-0.7.6-6.el6.x86_64
openssh-5.3p1-84.1.el6.x86_64
bind-libs-9.8.2-0.10.rc1.el6_3.6.x86_64
gedit-2.28.4-3.el6.x86_64
libicu-4.2.1-9.1.el6_2.x86_64
iw-0.9.17-4.el6.x86_64
plymouth-plugin-two-step-0.8.3-24.el6.centos.x86_64
libsmbclient-3.6.9-151.el6.x86_64
control-center-2.28.1-37.el6.x86_64
bind-utils-9.8.2-0.10.rc1.el6_3.6.x86_64
iwl6000g2b-firmware-17.168.5.2-1.el6.noarch
ModemManager-0.4.0-3.git20100628.el6.x86_64
libXxf86dga-1.1.1-1.el6.x86_64
cronie-1.4.4-7.el6.x86_64
which-2.19-6.el6.x86_64
dmraid-1.0.0.rc16-11.el6.x86_64
iwl6000-firmware-9.221.4.1-1.el6.noarch
GConf2-2.28.0-6.el6.x86_64
ConsoleKit-x11-0.4.1-3.el6.x86_64
shared-mime-info-0.70-4.el6.x86_64
busybox-1.15.1-15.el6.x86_64
vino-2.28.1-8.el6_3.x86_64
gcc-4.4.7-11.el6.x86_64
libgpg-error-1.7-4.el6.x86_64
nscd-2.12-1.107.el6.x86_64
prelink-0.4.6-3.el6.x86_64
foomatic-db-4.0-7.20091126.el6.noarch
perl-DBD-MySQL-4.013-3.el6.x86_64
bzip2-1.0.5-7.el6_0.x86_64
libstdc++-4.4.7-3.el6.x86_64
seekwatcher-0.12-5.el6.noarch
compat-db43-4.3.29-15.el6.x86_64
lua-5.1.4-4.1.el6.x86_64
rsyslog-5.8.10-2.el6.x86_64
libhugetlbfs-2.12-2.el6.x86_64
screen-4.0.3-16.el6.x86_64
dstat-0.7.0-1.el6.noarch
net-tools-1.60-110.el6_2.x86_64
ethtool-2.6.33-0.3.el6.x86_64
git-1.7.1-2.el6_0.1.x86_64
psmisc-22.6-15.el6_0.1.x86_64
man-pages-overrides-6.3.3-1.el6.noarch
php-5.3.3-22.el6.x86_64
control-center-filesystem-2.28.1-37.el6.x86_64
libburn-0.7.0-1.el6.x86_64
hal-info-20090716-3.1.el6.noarch
hunspell-1.2.8-16.el6.x86_64
rpm-build-4.8.0-27.el6.x86_64
glib2-2.22.5-7.el6.x86_64
libvisual-0.4.0-9.1.el6.x86_64
psacct-6.3.2-63.el6_3.3.x86_64
pam_passwdqc-1.0.5-6.el6.x86_64
db4-4.7.25-17.el6.x86_64
mcpp-2.7.2-4.1.el6.x86_64
cifs-utils-4.8.1-10.el6.x86_64
libcom_err-1.41.12-14.el6.i686
patchutils-0.3.1-3.1.el6.x86_64
gnome-menus-2.28.0-4.el6.x86_64
xmlrpc-c-1.16.24-1209.1840.el6.x86_64
pyorbit-2.24.0-5.el6.x86_64
gvfs-1.4.3-12.el6.x86_64
wpa_supplicant-0.7.3-3.el6.x86_64
perl-version-0.77-129.el6.x86_64
time-1.7-37.1.el6.x86_64
abrt-libs-2.0.8-6.el6.centos.x86_64
gamin-python-0.1.10-9.el6.x86_64
avahi-ui-0.6.25-11.el6.x86_64
SDL-1.2.14-3.el6.x86_64
perl-Module-Load-Conditional-0.30-129.el6.x86_64
cscope-15.6-6.el6.x86_64
system-config-users-1.2.106-5.el6.noarch
system-config-date-docs-1.0.11-1.el6.noarch
perl-Test-Harness-3.17-129.el6.x86_64
rdate-1.4-16.el6.x86_64
libgail-gnome-1.20.1-4.1.el6.centos.x86_64
usbmuxd-1.0.2-1.el6.x86_64
perl-Digest-SHA-5.47-129.el6.x86_64
compat-libf2c-34-3.4.6-19.el6.x86_64
patch-2.6-6.el6.x86_64
perl-CPAN-1.9402-129.el6.x86_64
gnome-backgrounds-2.28.0-2.el6.noarch
plymouth-0.8.3-24.el6.centos.x86_64
pinentry-0.7.6-6.el6.x86_64
vmware-open-vm-tools-nox-8.3.12-493255.el6.x86_64
perl-CPANPLUS-0.88-129.el6.x86_64
atmel-firmware-1.3-7.el6.noarch
btparser-0.16-3.el6.x86_64
smp_utils-0.94-4.el6.x86_64
groff-1.18.1.4-21.el6.x86_64
kernel-2.6.32-279.5.2.el6.x86_64
pam-1.1.1-13.el6.x86_64
ql23xx-firmware-3.03.27-3.1.el6.noarch
neon-0.29.3-2.el6.x86_64
poppler-0.12.4-3.el6_0.1.x86_64
fontconfig-2.8.0-3.el6.x86_64
libSM-1.2.1-2.el6.x86_64
compat-libstdc++-296-2.96-144.el6.i686
pulseaudio-utils-0.9.21-14.el6_3.x86_64
libXfixes-4.0.4-1.el6.x86_64
xorg-x11-drv-siliconmotion-1.7.5-1.el6.x86_64
libpciaccess-0.12.1-1.el6.x86_64
liberation-fonts-common-1.05.1.20090721-5.el6.noarch
qt-4.6.2-25.el6.x86_64
db4-utils-4.7.25-17.el6.x86_64
libXv-1.0.5-1.el6.x86_64
xorg-x11-drv-s3virge-1.10.4-2.el6.x86_64
xdg-utils-1.0.2-17.20091016cvs.el6.noarch
module-init-tools-3.9-21.el6.x86_64
coreutils-8.4-19.el6.x86_64
libXft-2.1.13-4.1.el6.x86_64
xorg-x11-drv-rendition-4.2.4-1.el6.x86_64
pth-2.0.7-9.3.el6.x86_64
libxslt-1.1.26-2.el6_3.1.x86_64
avahi-glib-0.6.25-12.el6.x86_64
nautilus-extensions-2.28.4-19.el6.x86_64
libgnomecanvas-2.26.0-4.el6.x86_64
xorg-x11-drv-i740-1.3.2-2.el6.x86_64
libpcap-1.0.0-6.20091201git117cb5.el6.x86_64
dracut-004-284.el6_3.1.noarch
pixman-0.26.2-4.el6.x86_64
libreport-cli-2.0.9-5.el6.centos.x86_64
at-spi-1.28.1-2.el6.centos.x86_64
totem-2.28.6-2.el6.x86_64
pciutils-3.1.4-11.el6.x86_64
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: RE: *** MySQL library could not be located... ****

Post by jdalrymple »

symphonynagios wrote:lnx0035:root# yum install -y mysql-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package mysql-devel-5.1.66-2.el6_3.x86_64 already installed and latest version
Nothing to do
How is it missing from rpm -qa?

Your server is quite confused.
symphonynagios
Posts: 14
Joined: Wed Jan 28, 2015 2:05 pm

Re: RE: *** MySQL library could not be located... ****

Post by symphonynagios »

Here we can see it. hope its missed while copying rpm -qa

[rpadakannaya@lnx0035 ldmodels]$ rpm -qa | grep -i mysql
mysql-5.1.73-3.el6_5.x86_64
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-devel-5.1.73-3.el6_5.x86_64
mysql-server-5.1.73-3.el6_5.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: RE: *** MySQL library could not be located... ****

Post by jdalrymple »

symphonynagios wrote:lnx0035:root# yum install -y mysql-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package mysql-devel-5.1.66-2.el6_3.x86_64 already installed and latest version
Nothing to do
symphonynagios wrote:lnx0035:root# cat /etc/redhat-release
CentOS release 6.4 (Final)
symphonynagios wrote:Here we can see it. hope its missed while copying rpm -qa

[rpadakannaya@lnx0035 ldmodels]$ rpm -qa | grep -i mysql
mysql-5.1.73-3.el6_5.x86_64
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-devel-5.1.73-3.el6_5.x86_64
mysql-server-5.1.73-3.el6_5.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
How many different servers are we working on? Certainly I can understand why our configure script is as baffled as we are.
Locked