LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 01-24-2013, 11:26 PM   #1
Divya V N
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Rep: Reputation: Disabled
Question /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
 
Old 01-25-2013, 02:16 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
 
Old 01-25-2013, 03:22 PM   #3
YankeePride13
Member
 
Registered: Aug 2012
Distribution: Ubuntu 10.04, CentOS 6.3, Windows 7
Posts: 209

Rep: Reputation: 48
Run:
Code:
#] updatedb
#] locate nagios
and find the nagios binary within the results.
 
Old 01-30-2013, 12:02 PM   #4
Divya V N
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
YankeePride13,
Ran the code but I could not find the nagios bin file in the list of files.
 
Old 01-30-2013, 12:13 PM   #5
YankeePride13
Member
 
Registered: Aug 2012
Distribution: Ubuntu 10.04, CentOS 6.3, Windows 7
Posts: 209

Rep: Reputation: 48
Quote:
Originally Posted by Divya V N View Post
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.
 
Old 01-30-2013, 12:14 PM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,456

Rep: Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538
Quote:
Originally Posted by Divya V N View Post
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*"?
 
Old 02-05-2013, 08:59 AM   #7
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,348

Rep: Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105
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.")
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reset permissions on /usr/local/nagios/libexec linuxcoa Linux - General 2 11-19-2012 02:43 PM
ould not create external command file '/usr/local/nagios/var/rw/nagios.cmd gerard.zapata Linux - Newbie 2 09-14-2012 01:57 PM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
Nagios Daemon, PID not found but rc.nagios runs agentc0re Slackware 1 07-03-2007 02:47 PM
why not etc/ in my /usr/local/nagios? 2007fld Linux - Software 1 05-30-2007 03:02 PM


All times are GMT -5. The time now is 04:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration