Solved

No lock file found for nagios when trying to start

Posted on 2009-05-12
2
2,773 Views
Last Modified: 2013-12-16
Hi,

I followed the instructions at this link which I found here on EE...http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html
Well after trying to start nagios it says that "No lock file found in /usr/local/nagios/var/nagios.lock
what does this mean and how do I resolve it. Just trying to get nagios up.
Thanks much
0
Comment
Question by:Sainai
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
WizRd-Linux earned 250 total points
ID: 24370989
When you start nagios check out /var/log/messages and make sure it isn't crapping out.

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and read the entire output and make sure that you don't have any errors in the configuration files.

As that guide says, check selinux.
0
 

Author Comment

by:Sainai
ID: 24372381
I turned SE Linux off and now I will try the -v for errors but when I try to start nagios using service nagios start, it gives me that lock error. Am I suppose to try to start it using ./   ?

thnkx
0

Featured Post

Webinar: MongoDB® Index Types

Join Percona’s Senior Technical Services Engineer, Adamo Tonete as he presents “MongoDB Index Types, How, When and Where Should They be Used?” on Wednesday, July 12, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question