<!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">
Hello<br>
<br>
Your webserver user must have write access on /usr/local/nagios/var/rw
directory.<br>
Have you set up the nagios command group, and added the webserver user
to that group?<br>
<br>
Then you would <i>chown nagios.nagcmd /usr/local/nagios/var/rw</i> and
<i>chmod g+x /usr/local/nagios/var/rw</i>.<br>
<br>
Just take a close look to adapt it to your needs (nagios homedir,
nagios user and nagios command group).<br>
<br>
-- <br>
Cheers,<br>
Rafael Costa<br>
<a class="moz-txt-link-abbreviated" href="mailto:rafaelc@vegait.com.br">rafaelc@vegait.com.br</a><br>
Curitiba / PR / Brasil<br>
<br>
<br>
Nelson Serafica escreveu:
<blockquote cite="mid20060109132158.17612.qmail@web60412.mail.yahoo.com"
 type="cite">
  <div id="RTEContent">Wheneve i tried to schedule downtime, it shows:<br>
  <br>
  <div class="errorMessage">Error: Could not open command file
'/usr/local/nagios/var/rw/nagios.cmd' for update!</div>
  <div class="errorDescription">The permissions on the external command
file and/or directory may be incorrect. Read the FAQs on how to setup
proper permissions. </div>
An error occurred while attempting to commit your command for
processing.<br>
  <br>
  <br>
i run "chown -R nagios.nagios <dir-nagios>" just to make sure
everything is under nagios user. <br>
  <br>
i check cgi and put "noc" (coz this is the user that gets in to my web
interface)<br>
to have access in all external cgi. <br>
  <br>
What might be the coz of the problem???<br>
  <br>
What might be the cause of these problems??<br>
  </div>
  <p> </p>
  <hr size="1"> <a
 href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=37474/*http://promo.yahoo.com/broadband/%20">Yahoo!
DSL</a> Something to write home about. Just $16.99/mo. or less
</blockquote>
</body>
</html>