Marc Powell wrote: > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Lalita Drolia >> Sent: Friday, August 24, 2007 12:14 AM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] Return code of 136 is out of bounds. >> >> I have a nagios server running successfully on version 3.01b. I > decided to >> make a backup server for that machine. >> >> So I installed Nagios on another machine and copied the etc folder > from >> the first machine to the second. >> >> >> >> But now in my web interface on the backup server that I have created, > all >> service checks are giving the error- >> >> "Return code of 136 is out of bounds." > > 136 is highly unusual; google and I haven't seen it before. Do you mean > 126? If so, Google leads to FAQ leads to likely answer in under 30 > seconds. > > If it doesn't, please provide information about OS version and details > about how you installed the plugins. How does this new machine differ > from your current machine? >
He must indeed mean 126. 136 is impossible, as a program's return-code is given to its caller as a signed char value. In this case, 126 *usually* means "ENOPERM", an error you'll see if a program tries to execute a file that doesn't have the execute flag set, or if the user trying to execute the program lacks the permissions to execute the given file. Since the OP stated all the plugins are owned by the nagios user, I'd assume a simple chmod +x /path/to/nagios/plugins/* would suffice. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null