LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-22-2010, 10:35 AM   #1
aalvarez
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
Nagios start problem.


Hello,
I have a problem when I try to service nagios start, error is the following;

No lock file found in /var/run/nagios.pid

So when I verified the sample Nagios configuration files whit /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg, get:

-bash: /usr/local/nagios/bin/nagios: No such file or directory

can some one help me?
 
Old 06-22-2010, 10:56 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by aalvarez View Post
Hello,
I have a problem when I try to service nagios start, error is the following;

No lock file found in /var/run/nagios.pid

So when I verified the sample Nagios configuration files whit /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg, get:

-bash: /usr/local/nagios/bin/nagios: No such file or directory

can some one help me?

did you add these steps when installing>?

Code:
chkconfig --add nagios

chkconfig nagios on

make install-init

Last edited by centosboy; 06-22-2010 at 10:58 AM.
 
Old 06-22-2010, 03:40 PM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Blog Entries: 2

Rep: Reputation: 68
Quote:
Originally Posted by aalvarez View Post
-bash: /usr/local/nagios/bin/nagios: No such file or directory
Also, what is the output of command:
Code:
which nagios
try to use it instead /usr/local/nagios/bin/nagios in original command.
 
Old 06-24-2010, 11:41 AM   #4
aalvarez
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hello,
My problem was resulted, I had a error in the configuration file object.

Tankyou Very much
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios Addon NRPE didnt start? dwarf007 Linux - Software 3 04-27-2011 01:38 AM
Just Installed Nagios and it wont start coolhandoskar Linux - Newbie 6 01-03-2010 11:51 AM
start und stop windows service using nagios cccc Debian 1 03-11-2008 07:43 AM
Problems trying to start Nagios... shelby Linux - Software 15 10-02-2005 05:34 PM
how to start nagios? dwarf007 Linux - Software 5 10-02-2005 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration