Help Please

Kevin L. Papendick papendick at nexserver.com
Fri Nov 15 21:35:43 CET 2002


Chris,

I'm fairly new to this, so you will probably get better answers from 
others.  When I was having  this problem it was because the web server 
runs as nobody|nogroup and the directory (in your case 
/usr/local/nagios/var/rw) was either root|root or nagios|nagios (I 
believe the later).  I chmod g+s on the directory and chgrp nogroup on 
it also.  After that I could ACK and such without a problem.

-klp

Christopher Jacob wrote:

>I seem to have things set up for the most part, but when ever I try any
>commands from the web interface (clear and alarm, etc.) I get the
>following...
>
>----
>
>Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd'
>for update!
>
>
>The permissions on the external command file and/or directory may be
>incorrect. Read the FAQs on how to setup proper permissions. 
>
>
>An error occurred while attempting to commit your command for
>processing.
>
>----
>
>I have followed the doc step by step in the "External Command File
>Permissions" section, but to now avail. I have even tried giving
>everyone full access to the file, but nothing seems to work.
>
>I know this is petty, but any help would be appreciated.
>
>
>Thanks
>
>Chris
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: To learn the basics of securing 
>your web site with SSL, click here to get a FREE TRIAL of a Thawte 
>Server Certificate: http://www.gothawte.com/rd524.html
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>  
>

-- 
********************************
Kevin L. Papendick
Programmer Analyst
Nexserver, Inc.
www.nexserver.com
papendick at nexserver.com
(v) 716-655-9968
(f) 716-655-9982
********************************




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html




More information about the Users mailing list