<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Jan 9, 2006, at 8:27 AM, Rafael Bandeira da Costa wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">  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></BLOCKQUOTE>I'm also unable to do downtime, but I just get "an error occurred processing your command".  the rw directory is writeable by apache, which is what my server runs as, and the pipe is group writable by apache.  I can't find an error either in the apache logs, nor the nagios logs.</DIV><DIV><BR><BLOCKQUOTE type="cite"> <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><DIV> <BR class="khtml-block-placeholder"></DIV>  <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>  </BLOCKQUOTE></DIV><BR></BODY></HTML>