Nagios XI Installation Error -Subcomponents

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dominiqs
Posts: 17
Joined: Thu May 20, 2010 9:34 am

Nagios XI Installation Error -Subcomponents

Post by dominiqs »

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
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Nagios XI Installation Error -Subcomponents

Post by niebais »

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.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Nagios XI Installation Error -Subcomponents

Post by mmestnik »

Yes, our software indeed depends on a working bash/sh. Check with your distribution for a solution or perhaps niebais knows what to do.
dominiqs
Posts: 17
Joined: Thu May 20, 2010 9:34 am

Re: Nagios XI Installation Error -Subcomponents

Post by dominiqs »

Thanks i fixed this , this was directory permissions issues which was preventing me from running this script,thanks for your help anyway
Locked