No lock file found in /usr/local/nagios/var/nagios
.lock
as if the shutdown script is looking for the lock which would not be there if not running
maybe the shutdown script should test if running first
as if the shutdown script is looking for the lock which would not be there if not running
maybe the shutdown script should test if running first
On 12/19/05, Askar Ali <[EMAIL PROTECTED]
> wrote:
Marco Ramos wrote:yep,On Mon, 2005-12-19 at 19:32 +0500, Askar Ali wrote:
however I still *sometime* (not every time) error when stopping
nagios.
/etc/rc.d/rc.nagios stop
Stopping network monitor: nagios
Waiting for nagios to exit .head: cannot open
`/usr/local/nagios/var/nagios.lock' for reading: No such file or
directory
Does this directory have read/write permissions for the user nagios?
HTH,
Marco Ramos
ls -l
drwxr-xr-x 3 nagios nagios 328 2005-12-19 19:43 var
and ls -l var
rwxr-xr-x 2 nagios nagios 11528 2005-12-19 14:19 archives
-rw-r--r-- 1 nagios nagios 240 2005-12-19 14:19 comments.dat
-rw-r--r-- 1 nagios nagios 241 2005-12-19 14:19 downtime.dat
-rw-r--r-- 1 nagios nagios 6 2005-12-19 19:41 nagios.lock
-rw-r--r-- 1 nagios nagios 144777 2005-12-19 19:41 nagios.log
-rw-r--r-- 1 nagios nagios 205500 2005-12-19 19:41 objects.cache
-rw-r--r-- 1 nagios nagios 310521 2005-12-19 19:41 retention.dat
-rw-rw-r-- 1 nagios nagios 295578 2005-12-19 19:43 status.dat
however even though it gives error on stopping but its do kill the nagios process.
regards
askar
--
--------------------------------------------------
william fears
williamfears.com
o(-_-)o
--------------------------------------------------