nagios3错误:无法读取对象配置数据!

我在ubuntu 12.04上安装了全新的nagios3。 登录到Web界面并单击任何链接后,我收到错误:

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. 

我使用-v选项运行它并且它报告没有错误:

 Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check 

nagios日志和apache错误日志和调试日志都没有任何关于此的内容。 有谁知道如何打开日志会给我带来某种有用的错误? 或者如果有人知道如何在没有额外日志记录的情况下解决这个特定问题,我想也没关系。

谢谢!

 Error: Could not read object configuration data! 

我收到此错误,因为Nagios没有运行。 Apache或Nagios日志文件中没有错误。

我有同样的错误。 在我的情况下,这是因为我更改了Apache用户远离默认的www-data。 当我将新的Apache用户添加到www-data组时,问题就解决了。

换句话说,在我的情况下,这是一个Apache权限错误。 我希望这可以帮助您找到错误。