Confused. Error regarding cgi.cfg and permission.
Posted: Fri Jan 27, 2012 9:42 am
This one seems simple.. but I've been hacking away at it for a few days and no resolution.
Logging in to nagios web page is fine but when clicking on anything in the "Current Status" brings up a page with an error:"Error: Could not open CGI config file '/etc/nagios/cgi.cfg' for reading!"
I had found some corruption of the file (lots of "@"'s added to the file) but replaced it with a clean backup, same message. Changed the permissions to 777, fooled with changing the owner of the file (currently at nagios:nagios) and that didn't make a difference.
Kind of at my wits end so any help would be appreciated.
Logging in to nagios web page is fine but when clicking on anything in the "Current Status" brings up a page with an error:"Error: Could not open CGI config file '/etc/nagios/cgi.cfg' for reading!"
I had found some corruption of the file (lots of "@"'s added to the file) but replaced it with a clean backup, same message. Changed the permissions to 777, fooled with changing the owner of the file (currently at nagios:nagios) and that didn't make a difference.
Kind of at my wits end so any help would be appreciated.