2014-01-15 59 views
0

我最近从Nagios Core 3.2.3升级到v 4.0.2。升级后,当我浏览到Nagios的WEBGUI时,当我点击Map时出现此错误。其他事情运行良好。Nagios 4.0.2错误:无法打开用于读取的CGI配置文件'/usr/local/nagios/etc/cgi.cfg'

错误是 可以为阅读

注意不开CGI配置文件“/usr/local/nagios-3.2.3/etc/cgi.cfg”:Nagios的-3.2.3是我的旧文件的位置和现在我将其更改为nagios-4.0.2,现在它不起作用。有没有一种方法我可以指出cgi.cfg到新的位置 即/usr/local/nagios-4.0.2

请帮

+0

媒体链接检查权限和所有者文件?会猜测它搞砸了。 – Yunalescar

+0

我应该检查哪些文件或文件夹? – fm2ahmed

+0

我需要检查哪些文件和文件夹权限? – fm2ahmed

回答

0

http://nagios.sourceforge.net/docs/3_0/configcgi.html

By default, Nagios expects the CGI configuration file to be named cgi.cfg and located in the config file directory along with the main config file. If you need to change the name of the file or its location, you can configure Apache to pass an environment variable named NAGIOS_CGI_CONFIG (which points to the correct location) to the CGIs. See the Apache documentation for information on how to do this.

相关问题