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.
I start installing Nagios on CentOS, so everything went ok, but i have problems with the service, check_snmp, when i try to execute i have the folowing error
[root@mpnagios libexec]# ./check_snmp -h
./check_snmp: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./check_snmp)
[root@mpnagios libexec]#
any suggestion ?
Last edited by MPIvan on Fri Oct 25, 2013 6:00 am, edited 1 time in total.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
[root@mpnagios ~]# yum install glibc
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.cabletel.com.mk
* extras: mirror.cabletel.com.mk
* updates: mirror.cabletel.com.mk
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 5.0 MB 00:00
Setting up Install Process
Package glibc-2.12-1.107.el6_4.5.x86_64 already installed and latest version
Nothing to do
[root@mpnagios ~]#
[root@mpnagios libexec]# ./check_snmp -h
./check_snmp: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./check_snmp)
[root@mpnagios libexec]#
Yes im running CentOS 6.4 ... and as i can see im running 2.12 version but cant update to 2.18 or newer. So i guess the issue is that ...
i need uptime status of a router, before i installed Nagios on CentOS iv use "check_snmp" on Ubuntu .. because i start all over again but on CentOS im just using the files .cfg and i have to make this work or i will have too much work to go to change all this to work with other script plugin or what ever
[root@mpnagios ~]# /lib/libc.so.6
GNU C Library stable release version 2.12, by Roland McGrath et al.
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.7 20120313 (Red Hat 4.4.7-3).
Compiled on a Linux 2.6.32 system on 2013-10-14.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
[root@mpnagios ~]#
Was your check_snmp compiled on this cent system or the previous ubuntu system? There will be some changes and differences between systems, and binaries are not likely compatible between them due to version and location differences of files. I just wanted to validate that this was created on the cent system so that we are not debugging things that will not be there.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
I thought of that but i wasn't sure if it could be that ... yes, before i installed Nagios on CentOS i make backup from Ubuntu, i take the files and plugins ( for files .fg i don't used them, because i start all over again ) but for the "check_snmp" i copy in the directory in CentOS and i try to use. But also the version of GLIBC is 2.12 and the newer is 2.18, so what should i looking now ? I use check_snmp for Uptime status.
You should recompile ALL plugins for the new system. Unless they are scripts like python, bash, and perl, all compiled plugins will always need to be recompiled for a new OS or architecture. Until then, this and many other plugins will continue to fail as they are dynamically linked to files they depend on, that massively change between linux distros and versions.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
When i install Nagios on CentOS i install nagios-plugins-1.5 ... but there i dont see the check_snmp .... so do i have to download older version of the plugins and installed ( recompile ) again or ?? can i just use or some how install just check_snmp ?