Ok, i have looked all over and tried everything it seems and its still not working. I have installed nagios 2.0b4 on CentOS 4 with apache 2. I followed the instructions exactly and it didnt work. I authenticates users and you can view the “home” and “documentation” pages but all the rest(which are all cgi) it comes up with the “page not found” error stating that “The requested URL /nagios/sbin/anyfile.cgi was not found on this server. Apache/2.0.52 (CentOS) Server at 10.10.200.112 Port 80” where “anyfile” is any of the cgi files. I have temporarily disabled the SElinux features after reading how that can cause issues until i can get this figured out. I have checked all file permissions and it looks good. All links and aliases in the config files are headed to the right destinationas far as i can tell. My apache error log says the following when i try and access a page:
“[Wed Aug 31 15:52:26 2005] [error] [client 10.10.200.115] File does not exist: /usr/local/nagios/share/sbin, referer: 10.10.200.112/nagios/side.html”
Now, this is true because the sbin folder is a directory up from that which is also set in the config files. When i stry and start the nagios service i get the following:
“[root@sam-dev logs]# /etc/rc.d/init.d/nagios start
Starting network monitor: nagios
CONFIG ERROR! Start aborted. Check your Nagios configuration.
[root@sam-dev logs]#”
I have checked the files and i am now sitting here staring at my computer and the nagios website because i have no idea where to go next. Any help would be appreciated.
*nagios.cfg file attached as .txt
[file=e107_files/public/7101_nagios.txt]7101_nagios.txt[/file]