Radius check broken in nagios vm template (august 2014 relea

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tonyleatwork
Posts: 91
Joined: Mon Jul 07, 2014 8:55 am

Radius check broken in nagios vm template (august 2014 relea

Post by tonyleatwork »

Hi -

The Radius server check is failing with the following error on the nagios vm template (august 2014 release.)

[nagios@nwd2ng01 libexec]$ ./check_radius_adv
-bash: ./check_radius_adv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory


When I try to fetch ld-linux.so.2:

Code: Select all

[root@nwd2ng01 libexec]# yum install glibc-2.12-1.149.el6.i686
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.mit.edu
 * epel: ftp.osuosl.org
 * extras: ftpmirror.your.org
 * rpmforge: repoforge.mirror.constant.com
 * updates: mirror.ash.fastserv.com
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.12-1.149.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.149.el6 for package: glibc-2.12-1.149.el6.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.149.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.149.el6.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.149.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.149.el6 for package: glibc-2.12-1.149.el6.i686
---> Package nss-softokn-freebl.x86_64 0:3.14.3-19.el6_6 will be updated
---> Package nss-softokn-freebl.i686 0:3.14.3-22.el6_6 will be installed
---> Package nss-softokn-freebl.x86_64 0:3.14.3-22.el6_6 will be an update
--> Finished Dependency Resolution
Error: Package: glibc-2.12-1.149.el6.i686 (base)
           Requires: glibc-common = 2.12-1.149.el6
           Installed: glibc-common-2.12-1.149.el6_6.5.x86_64 (@updates)
               glibc-common = 2.12-1.149.el6_6.5
           Available: glibc-common-2.12-1.149.el6.x86_64 (base)
               glibc-common = 2.12-1.149.el6
           Available: glibc-common-2.12-1.149.el6_6.4.x86_64 (updates)
               glibc-common = 2.12-1.149.el6_6.4
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
You have new mail in /var/spool/mail/root
[root@nwd2ng01 libexec]#

What should I do? I'm nervous about a broken package screwing up other stuff in nagios (btw, are you guys working on freezing libraries to static locations?)
dgatlas
Posts: 16
Joined: Thu Dec 11, 2014 1:42 pm

Re: Radius check broken in nagios vm template (august 2014 r

Post by dgatlas »

Try

Code: Select all

yum install glibc.i686
i.e. without the explicit version numbers.

or

Code: Select all

yum install glibc-2.12-1.149.el6_6.5.i686
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Radius check broken in nagios vm template (august 2014 r

Post by ssax »

You should be fine running the command that dgatlas post, make sure that you create a snapshot before doing it just in case it causes problems.

Code: Select all

sudo yum install glibc.i686
I've asked the devs about the static locations and will post an update when they respond.

I'll create a bug report for this, I've verified that this occurs on the latest version as well.

Edit:

Code: Select all

NEW TASK ID 5304 created - Nagios XI Bug Report: check_radius_adv plugin gives "bad ELF interpreter" error
Locked