Debian,Plesk和Nagios问题

我在我的服务器上安装了Debian 5 + Plesk 9.5.4,通过apt-get安装了Nagios3。 我在我的虚拟主机上build立了一个子域,在Plesk中使用了cgi支持,然后将所有的nagios cgi复制到这个新的目录中,将那个cgi文件的所有者设置为我的子域的FTP用户和组。 现在,访问http://subdomain.mydomain.com/nagios3/我可以看到我的nagios主菜单,文档等,但从nagios菜单访问任何cgi,我总是看到这个CGI错误信息:

Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors. Check the Nagios log file for messages relating to startup or status data errors. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. 

使用-v命令行选项检查nagiosconfiguration是成功的。 我知道Plesk的apache使用suexec来运行CGI,所以我在/var/log/apache2/suexec.log中看到了“uid:(10011 / nagiosweb)gid:(110/110)cmd:config.cgi” etc / nagios3 / conf.d / *和/etc/nagios3/*.cfg所有者用户设置为“nagiosweb”,这是我在Plesk中设置的子域的FTP用户。

任何build议? 提前致谢… :)

PS我可以正确地看到我的nagios网页界面和相关的CGI通过l访问http:// localhost / nagios3 / !

错误:无法读取对象configuration数据

我在/var/log/apache2/suexec.log中看到“uid:(10011 / nagiosweb)gid:(110/110)cmd:config.cgi”,并且还更改了/etc/nagios3/conf.d/*和将/etc/nagios3/*.cfg所有者用户改为“nagiosweb”

对象configuration文件如何:

 chown -R nagiosweb /etc/nagios3/objects