Can't locate nagios.lock file

Hagen Deike Hagen_Deike at icon-scm.com
Tue Mar 4 18:13:19 CET 2003


Hi,

I had once the same problem.
Check you version of "su" if you have a switch -l. If not try this...

Look in the start script (/etc/init.d/nagios) and search for a row with the
following entry.

su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav"

Just remove the "-l"
If that doesn't help you will need a little deeper research into the script.

Regards,
Hagen Deike



-----Original Message-----
From: Florian Täger [mailto:florian.taeger at gmx.de] 
Sent: Dienstag, 4. März 2003 17:05
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Can't locate nagios.lock file

> Hy everybody!
 
> I just installed the Nagios network Monitor. But it doesn't start cause
there's a "nagios.lock" > file missing. 
>  
> Can anybody tell me where I can find the nagios.lock file and what it
should consist. 
>  
> I know where it is supposed to be, but there is no such file. Also in the
man pages, the file > isn't mentioned ...


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list