<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Marco Ramos wrote:
<blockquote cite="mid1135003252.3841.9.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">On Mon, 2005-12-19 at 19:32 +0500, Askar Ali wrote:

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">  
      </pre>
    </blockquote>
    <pre wrap="">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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Does this directory have read/write permissions for the user nagios?

HTH,
Marco Ramos



  </pre>
</blockquote>
yep,<br>
<br>
ls -l <br>
drwxr-xr-x  3 nagios nagios  328 2005-12-19 19:43 var<br>
<br>
and ls -l var<br>
<br>
rwxr-xr-x  2 nagios nagios  11528 2005-12-19 14:19 archives<br>
-rw-r--r--  1 nagios nagios    240 2005-12-19 14:19 comments.dat<br>
-rw-r--r--  1 nagios nagios    241 2005-12-19 14:19 downtime.dat<br>
-rw-r--r--  1 nagios nagios      6 2005-12-19 19:41 nagios.lock<br>
-rw-r--r--  1 nagios nagios 144777 2005-12-19 19:41 nagios.log<br>
-rw-r--r--  1 nagios nagios 205500 2005-12-19 19:41 objects.cache<br>
-rw-r--r--  1 nagios nagios 310521 2005-12-19 19:41 retention.dat<br>
-rw-rw-r--  1 nagios nagios 295578 2005-12-19 19:43 status.dat<br>
<br>
<br>
however even though it gives error on stopping but its do kill the
nagios process.<br>
<br>
<br>
regards<br>
<br>
askar<br>
<br>
</body>
</html>