Help with 1.1 setup
Spence, Lance (CCI-Hampton Roads)
Lance.Spence at cox.com
Sun Nov 9 01:37:20 CET 2003
Hello, I'm a new user of V1.1 of Nagios. I have installed v1.1 on Redhat 9. I am having a problem with the authentication part. When I bring up Mozilla and enter http://cyrebro/nagios/ I recieve:
"Server error! - The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. Error 500".
I tested everything after completing the part in the docs titled "Setting up the web interface" and I received the Nagios main screen just fine at that point. The problem didn't start until after I completed the section "Configuring Web Authentication"
Following the docs my http.conf contains:
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory /usr/local/nagios/sbin>
AllowOverride AuthConfig
order allow,deny
allow from all
</Directory>
Alias /nagios/ /usr/local/nagios/share/
<Directory /usr/local/nagios/share>
AllowOverride AuthConfig
order allow, deny
allow from all
</Directory>
I also have a .htaccess file in /usr/local/nagios/sbin and /usr/local/nagios/share which reads:
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
I've run the htpasswd command and added nagiosadmin and another user. Finally my cgi.cfg file contains: use_authentication=1.
I am stuck at this point can someone please help me?
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list