Return code of 127 is out of bounds - plugin may be missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Return code of 127 is out of bounds - plugin may be missing

Post by vhoover »

I recently had to rebuild a crashed Nagios XI vm and when attempting to use the check_esx3.pl plugin I receive the error message
(Return code of 127 is out of bounds - plugin may be missing)
I have verified that the required dependencies and plugin are all present yet none of the service checks work.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Return code of 127 is out of bounds - plugin may be miss

Post by tgriep »

Could you run the following and post back the results?

Code: Select all

ls -l /usr/local/nagios/libexec/check_esx3.pl
/usr/local/nagios/libexec/check_esx3.pl --help
Be sure to check out our Knowledgebase for helpful articles and solutions!
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Re: Return code of 127 is out of bounds - plugin may be miss

Post by vhoover »

Code: Select all

# ls -l /usr/local/nagios/libexec/check_esx3.pl
     -rwxr-xr-x 1 root root 82841 Dec  1  2014 /usr/local/nagios/libexec/check_esx3.pl
# /usr/local/nagios/libexec/check_esx3.pl --help
     /usr/bin/perl: symbol lookup error: /usr/lib64/perl5/auto/XML/LibXML/Common/Common.so: undefined symbol: Perl_Tstack_sp_ptr
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Return code of 127 is out of bounds - plugin may be miss

Post by tgriep »

It looks like the prerequisites may not of been installed. Can you run the following in a shell as root to install them?

Code: Select all

yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y
If you receive any errors installing them, post them here so we can review them.
You may want to go through the install guide below.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Re: Return code of 127 is out of bounds - plugin may be miss

Post by vhoover »

I ran through the installed and it looked as though all was fine but at the bottom of the install I got the following
Transaction Check Error:
file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-Base-1.04-1.el6.rf.noarch and perl-XML-SAX-0.96-7.el6.noarch
file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-Base-1.04-1.el6.rf.noarch and perl-XML-SAX-0.96-7.el6.noarch
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Return code of 127 is out of bounds - plugin may be miss

Post by jdalrymple »

We have instructions to follow that get you past this problem:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Read the prerequisites carefully.
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Re: Return code of 127 is out of bounds - plugin may be miss

Post by vhoover »

sure enough that fixed the issue thanks.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Return code of 127 is out of bounds - plugin may be miss

Post by hsmith »

Glad it's resolved, I'll go ahead and close this thread.
Former Nagios Employee.
me.
Locked