Solved

No lock file found for nagios when trying to start

Posted on 2009-05-12
2
2,689 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
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

685 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