Hi,
I am installing Nagios XI on our RHEL 5 server , I have got to the stage where i am trying to run the ./A-subcomponents script/command which Installs various components required by Nagios XI - including Nagios Core, NagiosPlugins, NDOUtils, PNP, extra plugins, webinject, etc.
Howver when i run this i get the errors below
[root@dev4 xi]# ./A-subcomponents
-bash: ./A-subcomponents: /bin/sh: bad interpreter: Permission denied
I then run it differently as below hoping to solve the problem but i get errors
[root@dev4 xi]# sh ./A-subcomponents
/tmp/xi/subcomponents /tmp/xi
./A-subcomponents: ./install: /bin/sh: bad interpreter: Permission denied
/tmp/xi
Has anyone experienced this before, Can anyone help please, any help would be greatly appreciated.
Kind Regards
Nagios XI Installation Error -Subcomponents
Re: Nagios XI Installation Error -Subcomponents
What's the output of "file /bin/sh" ? I've seen that error happen when sh is located in /usr/bin/sh or some other strange location before.
Re: Nagios XI Installation Error -Subcomponents
Yes, our software indeed depends on a working bash/sh. Check with your distribution for a solution or perhaps niebais knows what to do.
Re: Nagios XI Installation Error -Subcomponents
Thanks i fixed this , this was directory permissions issues which was preventing me from running this script,thanks for your help anyway