<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=594163013-19022009><FONT face=Arial size=2>I am using Nagios
3.0.4 and something has gone wrong. I just got the installation working
yesterday and now this morning I restarted and am getting an error when nagios
runs.</FONT></SPAN></DIV>
<DIV><SPAN class=594163013-19022009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=594163013-19022009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=594163013-19022009><STRONG>Warning:
Return code of 137 for check of service <EM>'name of service'</EM> on host
<EM>'hostname' </EM>was out of bounds.</STRONG></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=594163013-19022009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=594163013-19022009>According to the
FAQ:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=594163013-19022009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=594163013-19022009>
<TABLE class=Content cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD>
<DIV class=ContentTitle><FONT size=2>Frequently Asked
Questions</FONT></DIV><FONT size=2><IMG height=2
src="http://www.nagios.org/images/pixel.gif" width=1 border=0> </FONT>
<DIV class=ContentBreadcrumbs><A href="http://www.nagios.org/"><FONT
size=2>Home</FONT></A><FONT size=2> > </FONT><A
href="http://www.nagios.org/support/"><FONT size=2>Support</FONT></A><FONT
size=2> > FAQs</FONT></DIV><!-- End ContentHeader --></TD></TR><!-- Content Body Top Offset (Spacer) -->
<TR>
<TD height=15><FONT size=2><IMG height=15 alt=""
src="http://www.nagios.org/images/pixel.gif" width=1
border=0></FONT></TD></TR>
<TR>
<TD class=Content vAlign=top>
<TABLE class=Content width=750 border=0>
<TBODY>
<TR>
<TD>
<P><FONT size=2>[ </FONT><A href="http://www.nagios.org/faqs/"><FONT
size=2>Return To FAQ Index</FONT></A><FONT size=2> | </FONT><A
href="http://www.nagios.org/faqs/search.php"><FONT size=2>Search The
FAQs</FONT></A><FONT size=2> ]</FONT></P></TD></TR>
<TR>
<TD><FONT size=2><BR></FONT></TD></TR>
<TR>
<TD>
<TABLE class=FAQSectionName width="100%" border=0>
<TBODY>
<TR>
<TD class=FAQSectionName><A
href="http://www.nagios.org/faqs/index.php?section_id=0&expand=false&showdesc=true"><FONT
size=2>FAQ Database</FONT></A><FONT size=2> : </FONT><A
href="http://www.nagios.org/faqs/index.php?section_id=1&expand=false&showdesc=true"><FONT
size=2>Nagios</FONT></A><FONT size=2> : </FONT><A
href="http://www.nagios.org/faqs/index.php?section_id=9&expand=false&showdesc=true"><FONT
size=2>Error and Warning
Messages</FONT></A></TD></TR></TBODY></TABLE><BR>
<TABLE class=FAQs width="100%" border=0>
<TBODY>
<TR>
<TD class=FAQBodyHeader vAlign=top noWrap><FONT
size=2>Title:</FONT></TD>
<TD class=FAQTitle vAlign=top align=left><FONT size=2>Return
code of X is out of bounds error message</FONT></TD></TR>
<TR>
<TD class=FAQBodyHeader vAlign=top noWrap><FONT size=2>FAQ
ID:</FONT></TD>
<TD class=FAQID vAlign=top align=left><FONT
size=2>F0017</FONT></TD></TR>
<TR>
<TD class=FAQBodyHeader vAlign=top noWrap><FONT
size=2>Submitted By:</FONT></TD>
<TD class=FAQContactName vAlign=top align=left><FONT
size=2>Ethan Galstad </FONT></TD></TR>
<TR>
<TD class=FAQBodyHeader vAlign=top noWrap><FONT size=2>Last
Updated:</FONT></TD>
<TD class=FAQDate vAlign=top align=left><FONT
size=2>06/17/2003</FONT></TD></TR>
<TR>
<TD colSpan=2><FONT size=2></FONT></TD></TR>
<TR>
<TD class=FAQBodyHeader vAlign=top noWrap><FONT
size=2>Description:</FONT></TD>
<TD class=FAQProblem vAlign=top align=left width="100%">
<P><FONT size=2>A "(Return code of <I>x</I> is out of bounds)"
error is displayed in the output of a host or service check.
Similiar error messages may appear in the log file.
</FONT></P><FONT size=2> </FONT></TD></TR>
<TR>
<TD colSpan=2><FONT size=2></FONT></TD></TR>
<TR>
<TD class=FAQBodyHeader vAlign=top noWrap><FONT
size=2>Solution:</FONT></TD>
<TD class=FAQSolution vAlign=top align=left>
<P><FONT size=2>If the plugin output for a host or service
check give a "(Return code of <I>x</I> is out of bounds)"
error it usually means one of the following: </FONT></P>
<P><FONT size=2></FONT>
<OL>
<LI><FONT size=2>The plugin you're using to perform the host
or service check is not returning the proper return code
when it exits.<BR><BR></FONT>
<LI><FONT size=2>The path to the plugin is invalid (i.e. the
binary or script does not exist). This is most likely the
case if you get errors about a return code of <B>127</B>
being out of bounds. If this is the error you're getting,
check your command definitions and make sure the path to all
executables is correct (and that they're actually installed
on your system).<BR><BR></FONT>
<LI><FONT size=2>The plugin is not executable. This is most
likely the case if you get errors about a return code of
<B>126</B> being out of bounds. If this is the error you're
getting, make sure you've set the plugin to be executable
(using chmod +x).<BR><BR></FONT>
<LI><FONT size=2>The plugins are not finding libraries they
were linked against at compile time. Sean Berry noted that
on Solaris 8 this results in plugins returning an exit code
of <B>137</B>. The fix for this is to set the
LD_LIBRARY_PATH for the nagios account to include the paths
to the necessary libraries (i.e.
/usr/local/lib).<BR></FONT></LI></OL></TD></TR>
<TR>
<TD colSpan=2><FONT size=2></FONT></TD></TR>
<TR>
<TD class=FAQBodyHeader vAlign=top noWrap><FONT size=2>Related
FAQs:</FONT></TD>
<TD class=FAQRelated vAlign=top align=left>
<TABLE border=0>
<TBODY>
<TR>
<TD class=FAQRelatedID align=right><A
class=FAQRelatedLink
href="http://www.nagios.org/faqs/viewfaq.php?faq_id=37&expand=false&showdesc=true"><FONT
size=2>F0037</FONT></A></TD>
<TD class=FAQRelatedTitle align=left><FONT size=2>The
libexec/ subdirectory is missing from my Nagios
installation. Where are all the
plugins?</FONT></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=FAQBodyHeader vAlign=top noWrap><FONT
size=2>Keywords:</FONT></TD>
<TD class=FAQKeywords vAlign=top align=left><FONT
size=2>return code bounds plugin
error </FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=594163013-19022009>I have checked my
install and checked the LD_LIBRARY_PATH and nothing has changed that should be
causing this to happen. Has anyone else seen this problem? Have you found
anything else that I can look at to try to resovle this
problem?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=594163013-19022009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=594163013-19022009>Larry</SPAN></FONT></DIV></BODY></HTML>