Help Please

Pascal Miquet p.miquet at hafiba.fr
Sat Nov 16 20:15:55 CET 2002


Thanks for your response.
I was looking to solve this trouble, and didn't find how to solve it
into the documentation.
I works very fine for me, on a RH 7.3

-Pascal


Le ven 15/11/2002 à 22:11, Carroll, Jim P [Contractor] a écrit :

    That should work, but I think the docs suggest the following:
    
    - create the group nagiocmd (note that it's not 'nagioscmd')
    - add the username that Apache runs under to that group
    - 'chgrp nagiocmd /usr/local/nagios/var/rw'
    - 'chmod g+s /usr/local/nagios/var/rw'
    
    Restart nagios, and you should be good to go.  If Apache still balks, give
    it a restart, too.
    
    jc
    
    > -----Original Message-----
    > From: Kevin L. Papendick [mailto:papendick at nexserver.com]
    > Sent: Friday, November 15, 2002 2:36 PM
    > To: chris.jacob at apropos.com
    > Cc: nagios-users at lists.sourceforge.net
    > Subject: Re: [Nagios-users] Help Please
    > 
    > 
    > 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
    > _______________________________________________
    > Nagios-users mailing list
    > Nagios-users at lists.sourceforge.net
    > https://lists.sourceforge.net/lists/listinfo/nagios-users
    > 
    
    
    -------------------------------------------------------
    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

    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021116/6a7e153c/attachment.html>


More information about the Users mailing list