LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   /usr/local/nagios/bin/nagios not found (https://www.linuxquestions.org/questions/linux-kernel-70/usr-local-nagios-bin-nagios-not-found-4175447115/)

Divya V N 01-24-2013 11:26 PM

/usr/local/nagios/bin/nagios not found
 
Hi all,

I am installing Nagios 3.4.4 on Ubuntu 12.04 using Nagios Ubuntu Installation guide.After completing all the steps, when I start the apache or nagios service I get an error saying:
/usr/local/nagios/bin/nagios not found

Hoping for a early reply.
Thank you in advance. :)
-Divya

acid_kewpie 01-25-2013 02:16 AM

Well if it's not there it's not there... not really sure what we're supposed to tell you abuot this one :)

I'd guess in general you followed a guide that doesn't match up with the method you used to actually install the software? that location is, I think, the location that it would go to when installed from source, as opposed to a fully distro integrated RPM / DEB deployment.

YankeePride13 01-25-2013 03:22 PM

Run:
Code:

#] updatedb
#] locate nagios

and find the nagios binary within the results.

Divya V N 01-30-2013 12:02 PM

YankeePride13,
Ran the code but I could not find the nagios bin file in the list of files.

YankeePride13 01-30-2013 12:13 PM

Quote:

Originally Posted by Divya V N (Post 4880816)
YankeePride13,
Ran the code but I could not find the nagios bin file in the list of files.

Maybe you accidentally deleted the binary? Try re-installing it.

TB0ne 01-30-2013 12:14 PM

Quote:

Originally Posted by Divya V N (Post 4877133)
Hi all,
I am installing Nagios 3.4.4 on Ubuntu 12.04 using Nagios Ubuntu Installation guide.After completing all the steps, when I start the apache or nagios service I get an error saying:
/usr/local/nagios/bin/nagios not found

Would help if you told us what guide you're following. There is a guide found on Google using those terms, but it's old, and for an old version of Ubuntu. The current one:
http://askubuntu.com/questions/14551...install-nagios

..indicates that it's in the repositories. There is also another guide:
http://ubuntuforums.org/showthread.php?t=1986743

But if you can't find the file, are you SURE you installed it?? Have you run (as root) "find / -name nagios*"?

sundialsvcs 02-05-2013 08:59 AM

Maybe the package that contains nagios simply isn't installed yet. If the file's not there, that must be it. What else could it be? (However, be sure that you have run "updatdb" before trying "locate.")


All times are GMT -5. The time now is 06:16 PM.