Solved

No lock file found for nagios when trying to start

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

759 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

19 Experts available now in Live!

Get 1:1 Help Now