missing nagios.lock file

Russell Scibetti russell at quadrix.com
Fri Nov 8 20:55:30 CET 2002


Nagios creates a nagios.lock file in the var directory when Nagios is 
successfully started.  If for some reason, when you try starting Nagios, 
it doesn't start up, you will get this message because Nagios isn't 
running (the script returns the status of Nagios after it tries starting 
- in this case the status is that the start didn't work).

Did you run nagios -v to check your config files?  My guess is there is 
an error in your configs that prevented nagios from starting up.  If 
nagios -v doesn't return any errors, make sure that all the paths in 
your nagios.cfg are correct (nagios -v doesn't always catch errors here).

-Russell

Peter Krzystofiak wrote:

>When I try to start the init script. I get a 
>"no lock file found in /usr/local/nagios/var/nagios.lock" error because
>there is no nagios.lock file in this directory.
>
>I'm assuming that somwhere in the installation process, this file
>should have been placed in /var, but it was not.
>
>Why am I missing this file and what can I do to get rid of this error.
>
>You input is appreciated.
>
>
>Peter
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: See the NEW Palm 
>Tungsten T handheld. Power & Color in a compact size!
>http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>

-- 
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038





-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en




More information about the Users mailing list