I've searched all over these forums and the internet and I cannot seem to figure out a solution to this. I am getting this error on every thing I have set up in Nagios.
(Return code of 13 is out of bounds : (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_em01, ...) failed. errno is 13: Permission denied))
or
Info: (Return code of 13 is out of bounds : (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_ping, ...) failed. errno is 13: Permission denied))
I've reset the plugins. I've checked the permissions. I made sure there were no temp files restricted to the root account.
Any thoughts or assistance is appreciated.
(Return code of 13 is out of bounds : (No output on stdout)
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: (Return code of 13 is out of bounds : (No output on stdo
it looks like a permissions thing to me, please show the output of the following
Code: Select all
ls -al /usr/local/nagios/libexec/check_ping
ls -al /usr/local/nagiosRe: (Return code of 13 is out of bounds : (No output on stdo
Here is a screenshot of the command and output.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: (Return code of 13 is out of bounds : (No output on stdo
ya, check_ping isn't executable
run
run
Code: Select all
chmod +x /usr/local/nagios/libexec/*
chmod u+s /usr/local/nagios/libexec/check_dhcp
chmod u+s /usr/local/nagios/libexec/check_icmpRe: (Return code of 13 is out of bounds : (No output on stdo
AWESOME! That worked. I am pretty new to nagios and a linux novice. Can you explain to me what that did?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: (Return code of 13 is out of bounds : (No output on stdo
Sure thing. this command took all the file in /usr/local/nagios/libexec/ and made them executable by allmhedtcke wrote:AWESOME! That worked. I am pretty new to nagios and a linux novice. Can you explain to me what that did?
Code: Select all
chmod +x /usr/local/nagios/libexec/*Code: Select all
chmod u+s /usr/local/nagios/libexec/check_dhcp
chmod u+s /usr/local/nagios/libexec/check_icmpRe: (Return code of 13 is out of bounds : (No output on stdo
Thanks again for your help!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: (Return code of 13 is out of bounds : (No output on stdo
Have a great day. Closing thread