/usr/local/nagios/libexec/php: No such file or directory

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

/usr/local/nagios/libexec/php: No such file or directory

Post by mrochelle »

I have added a couple of wizards for checking the Nagios servers locally and remote.
1) Nagiostats Wizard
2) Nagios XI Server

For all the checks I keep getting the following error:
[STDERR][EC 127]/bin/sh: /usr/local/nagios/libexec/php: No such file or directory

However, I can execute any of the checks manually and from the DNX logs, the checks are actually working?
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: /usr/local/nagios/libexec/php: No such file or directory

Post by scottwilkerson »

Do you DNX machines have php installed?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: /usr/local/nagios/libexec/php: No such file or directory

Post by mrochelle »

Yes. Actually, the DNX part is working. From the logs the checks are going through successfully. Also I can manually execute the check on any client without a problem. My guess is the results data is not being handle appropriately back on the Master?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: /usr/local/nagios/libexec/php: No such file or directory

Post by lmiltchev »

For all the checks I keep getting the following error:
[STDERR][EC 127]/bin/sh: /usr/local/nagios/libexec/php: No such file or directory
Where exactly do you see this error? Can you post a screenshot?
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: /usr/local/nagios/libexec/php: No such file or directory

Post by mrochelle »

I found the fix right after reading your reply. I could not believe it could be that simple but I added the php command in the indicated directory and the problem cleared. Since you asked for the screen shot here it is. They had almost cleared before I captured it. Thanks again...Marcus
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: /usr/local/nagios/libexec/php: No such file or directory

Post by lmiltchev »

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