Solved

No lock file found for nagios when trying to start

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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.

937 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

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now