I'm back, with my [STDERR][EC 126]/bin/sh: Cannot execute binary file again after I refreshed my environment with a new copy of nagiosXI.
System:
localhost.localdomain 2.6.32-279.5.1.el6.x86_64 x86_64
CentOS release 6.3 (Final)
Gnome is not installed
However, this time, the problem starts after I install my DNX Server client if that provides any hint. Thoughts, comments, please.
[STDERR][EC 126]/bin/sh: Cannot execute binary file
[STDERR][EC 126]/bin/sh: Cannot execute binary file
You do not have the required permissions to view the files attached to this post.
-
lcontreras
- Posts: 48
- Joined: Thu Sep 13, 2012 7:15 pm
Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file
Hi
Have you checked directory /usr/local/nagios/libexec permissions ???, or try to execute the check from the command line in order to see if it returns the same message.
Have you checked directory /usr/local/nagios/libexec permissions ???, or try to execute the check from the command line in order to see if it returns the same message.
Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file
No problem with permissions and all plugins work without problem from command line.
Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file
Is your DNX client on a remote machine? Does the plugins directory on the remote machine match the main Nagios server?
Can you post the permissions of the /usr/local/nagios/libexec directory on the DNX client?
Can you post the permissions of the /usr/local/nagios/libexec directory on the DNX client?
Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file
All Directory Permissions:
You do not have the required permissions to view the files attached to this post.
Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file
OH, are these client machines the same architecture? If not then the plugins will probably need to be recompiled for the architecture difference.
Otherwise, can you test these plugins on the actual client machines as the nagios user?
Otherwise, can you test these plugins on the actual client machines as the nagios user?
Code: Select all
su nagios -c './check_procs'Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file
I believe you nailed it! I disable and DNX and all checks are fine. My DNX clients are 32 bit and my master was 64 bit architecture. I need to go have a conversation with my sysadmin.
Thank You!!!
Thank You!!!