Hi,
Im trying to install nagios on a fedora 2 machine for 2 weeks now but I can’t get it to work properly. I guess installing it isn’t the problem. I used the tarball, compiled it and configured it as the doc files say.
When I start nagios in my browser, I get this error (after loging in) when i try to open a cgi file:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log."
I checked the nagios configuration with this command:
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
The output is:
"Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check"
So if things look okay, why won’t it work? I also checked my apache error log. The only error I get is this one:
“[Wed Dec 14 19:55:38 2005] [warn] RSA server certificate CommonName (CN) `plesk’ does NOT match server name!?
[Wed Dec 14 19:55:38 2005] [notice] Apache/2.0.51 (Fedora) configured – resuming normal operations”
And i don’t know if this has anything to do with nagios.
This is what i’ve put in my httpd.conf:
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory “/usr/local/nagios/sbin”>
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
Alias /nagios /usr/local/nagios/share
<Directory “/usr/local/nagios/share”>
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
Does anyone know what could be the problem? Cause I’m close to giving up now, lol.
Thanks,
Michiel
Edited ]