nagios starting problem

Askar Ali askarali at beaconet.net
Mon Dec 19 15:45:51 CET 2005


Marco Ramos wrote:

>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
>
>
>
>  
>
yep,

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051219/7c1f09e5/attachment.html>


More information about the Users mailing list