(Return code of 126 is out of bounds - plugin may not be exe

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

(Return code of 126 is out of bounds - plugin may not be exe

Post by toleolu »

I copied a plugin from our old nagios server to our new Nagios XI, but I get the above error.

I've confirmed the file is executable, nagios is owner, all that is good, but if I run the plug from the command line, I get this:

-bash: /usr/local/nagios/libexec/check_vtc_rad: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Can someone shed some light on what that error means??

Thanks
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: (Return code of 126 is out of bounds - plugin may not be

Post by toleolu »

Think I might have found it, the old Nagios is a 32 bit machine and the new Nagios XI is 64 bit.

Anyone have any suggestions on how I can run my old 32 bit plugins on the new 64 bit system?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: (Return code of 126 is out of bounds - plugin may not be

Post by toleolu »

I found it, yum -y install glibc.i686

Maybe posting this will help someone else someday.

Mahalo;
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Locked