[STDERR][EC 126]/bin/sh: Cannot execute binary file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file

Post by lmiltchev »

Can you show the output of the following command?

Code: Select all

echo $PATH
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file

Post by mrochelle »

[root@nagiosdeva libexec]# whereis ping
ping: /bin/ping /usr/share/man/man8/ping.8.gz
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file

Post by mrochelle »

[root@nagiosdeva libexec]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file

Post by lmiltchev »

Can you also show the output of the following command?

Code: Select all

ls -l /bin/ping
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file

Post by mrochelle »

gios@nagiosdeva libexec]$ ls -l /bin/ping
-rwsr-xr-x. 1 root root 40760 Jul 19 2011 /bin/ping

Well, even though we had this problem, we continued with configurations of some plugins we needed to test. After several apply configurations, we no longer have the problem, so I'm not going to look a gift horse in the mouth.

Thanks for all your support.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: [STDERR][EC 126]/bin/sh: Cannot execute binary file

Post by lmiltchev »

I'm glad this got resolved! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked