NagiosXI wmic client linked against nonexistent libsasl.so.2
Posted: Mon May 04, 2015 2:17 pm
Nagios XI Version: 2014r2.7 [demo]
Host: CentOS Linux release 7.1.1503
Host architecture: 64bit
Install: manual
Problem Description
/usr/local/bin/wmic fails to run, preventing any WMI service checks
[root@localhost ~]# /usr/local/bin/wmic
/usr/local/bin/wmic: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
cyrus-sasl-lib is installed (cyrus-sasl-lib-2.1.26-17.el7.x86_64), but does not contain libsasl2.so.2:
[root@localhost ~]# rpm -qil cyrus-sasl-lib | egrep libsasl2.so
/usr/lib64/libsasl2.so.3
/usr/lib64/libsasl2.so.3.0.0
wmic isn't in the Nagios XI tarball, so I assume it's downloaded pre-compiled. The libsasl version must have changed between CentOS 5/6 and CentOS 7.
Chris Myers
Networks By Design
Host: CentOS Linux release 7.1.1503
Host architecture: 64bit
Install: manual
Problem Description
/usr/local/bin/wmic fails to run, preventing any WMI service checks
[root@localhost ~]# /usr/local/bin/wmic
/usr/local/bin/wmic: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
cyrus-sasl-lib is installed (cyrus-sasl-lib-2.1.26-17.el7.x86_64), but does not contain libsasl2.so.2:
[root@localhost ~]# rpm -qil cyrus-sasl-lib | egrep libsasl2.so
/usr/lib64/libsasl2.so.3
/usr/lib64/libsasl2.so.3.0.0
wmic isn't in the Nagios XI tarball, so I assume it's downloaded pre-compiled. The libsasl version must have changed between CentOS 5/6 and CentOS 7.
Chris Myers
Networks By Design