I am currently at a loss, i followed the docs on nagios.org and http://forums.gentoo.org/viewtopic-t-262408.html for the mysql instructions.
The Daemon starts alright (yes, the pre-flight check goes trough without any errors or wanrings), but i cannot get the webinterface to work.
Logging in works fine but clicking on any menulink on the left brings up:
Error: Could not open CGI config file '/etc/nagios/cgi.cfg' for reading!
Here are some things you should check in order to resolve this error:
1. Make sure you've installed a CGI config file in its proper location. See the error message about for details on where the CGI is expecting to find the configuration file. A sample CGI configuration file (named cgi.cfg) can be found in the sample-config/ subdirectory of the Nagios source code distribution.
2. Make sure the user your web server is running as has permission to read the CGI config file.
The File cgi.cfg does exist (in /etc/nagios/) , is based on /usr/share/doc/nagios-core-1.3/sample-configs/, belongs to nagios:nagios and is chmodded 644. So the user apache should be able to read the file properly. I have also added the apache user to the nagios group, but no success. I tried chmodding it to 777 as well (shouldn't be necessary, but who knows.)
I have found a few mailinglist and forum reports from fedora users having a similar problem, in their case it worked with apache authentication disabled. Even though that doesn't make any sense to me, i tried it. Disabling Auth didn't change anything.
Neither the Apache error logs nor the nagios logs show any errors when trying to access any of the Nagios Pages.
Any Ideas where to look for an error?


