Permissions Error

opensrcguru opensrcguru at inzauro.com
Fri Dec 6 15:08:55 CET 2002


My install works great.  RH8.0 Apache 1.3.27 mod_ssl,mod_perl,php4.  You
might try deleting the trailing slash on the "Alias /nagios/
/usr/local/nagios/share/" to "Alias /nagios /usr/local/nagios/share" and
the \n restart Apache.


Terry Inzauro 

On Fri, 2002-12-06 at 00:46, Chris Fairbanks wrote:

    My httpasswd.users file and everything is setup totally correctly and
    use_authentication=1 is set.  I have also tried setting all the
    authorized_for's = * but to no avail.  From the sounds of it, it looks
    like this might be an issue with RH8.0 or Apache 2.0.40 that ships
    default with RH8.0.  Is there anyone on this list that has Nagios
    working on RH8.0?
    
    	Thanks,
    	Chris
    
    
    
    -----Original Message-----
    From: wrnash [mailto:wrnash at wrnash.net] 
    Sent: Thursday, December 05, 2002 3:59 PM
    To: 'Potter, G M (Greg)'; 'Nagios-users (E-mail)'
    Subject: RE: [Nagios-users] RE: Permissions Error
    
    
    Have you did: 
    htpasswd /usr/local/nagios/etc/htpasswd.users username
    
    And also is use_authentication=1
    Do you get any error when you type /usr/local/nagios/bin/nagios -v <main
    configuration file> example would be /usr/local/nagios/etc/nagios.cfg
    
    
    Thanks Bill Nash
    
    -----Original Message-----
    From: nagios-users-admin at lists.sourceforge.net
    [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Potter, G
    M (Greg)
    Sent: Thursday, December 05, 2002 5:39 PM
    To: Nagios-users (E-mail)
    Subject: FW: [Nagios-users] RE: Permissions Error
    
    What do you have in the cgi.cfg file for the following variables?:
    
    authorized_for_system_information=nagiosadmin
    authorized_for_configuration_information=nagiosadmin
    authorized_for_system_commands=nagiosadmin
    authorized_for_all_services=nagiosadmin
    authorized_for_all_hosts=nagiosadmin
    authorized_for_all_service_commands=nagiosadmin
    authorized_for_all_host_commands=nagiosadmin
    
    Greg
    
    -----Original Message-----
    From: Robertson, Brown [mailto:brown.robertson at maac.net]
    Sent: Thursday, December 05, 2002 4:14 PM
    To: ChrisF at winterlink.net
    Cc: Nagios-users at lists.sourceforge.net
    Subject: [Nagios-users] RE: Permissions Error
    
    
    Chris, did you ever find out the cause of your permission error? I am
    running Red Hat 8.0 and finding the same problem. I have also followed
    the faq exactly. .htaccess files look good, httpd.conf edited properly.
    Htpasswd.users file is correct. I'm wondering if it might be some
    problem with apache under RH 8.0?
    
    Anyone else have any ideas?
    
    Here's what I have in my httpd.conf:
    
    ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
    <Directory "/usr/local/nagios/sbin/">
                AllowOverride AuthConfig
                Options ExecCGI
                Order allow,deny 
                Allow from all
    </Directory>
    
    Alias /nagios/ /usr/local/nagios/share/
    <Directory "/usr/local/nagios/share">
                Options None
                AllowOverride AuthConfig
                Order allow,deny
                Allow from all
    </Directory>
    
    And in my .htaccess, located in /usr/local/nagios/sbin  and
    /usr/local/nagios/share
    
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/htpasswd.users
    require valid-user
    
    
    Then I :
    
    htpasswd -c /usr/local/nagios/etc/htpasswd.users nagios
    
    
    
    Still no luck. It will continually request authentication but will never
    accept it. 
    
    Any ideas?
    
    
    -------------------------------------------------------
    This sf.net email is sponsored by:ThinkGeek
    Welcome to geek heaven.
    http://thinkgeek.com/sf _______________________________________________
    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:ThinkGeek
    Welcome to geek heaven.
    http://thinkgeek.com/sf _______________________________________________
    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:ThinkGeek
    Welcome to geek heaven.
    http://thinkgeek.com/sf
    _______________________________________________
    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/20021206/faa6feb6/attachment.html>


More information about the Users mailing list