Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

No lock file found for nagios when trying to start

Posted on 2009-05-12
2
Medium Priority
?
2,864 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 750 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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…
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…
Suggested Courses
Course of the Month9 days, 12 hours left to enroll

877 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