我有一个全新的nagios3安装在ubuntu12.04上。在登录到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 checknagios日志、apache错误日志和调试日志都与此无关。有人知道如何打开日志记录,这会给我带来一些有用的错误吗?或者,如果有人知道如何在不增加日志记录的情况下修复这个特定的问题,我想这也没关系。
谢谢!
发布于 2012-12-20 18:58:25
Error: Could not read object configuration data!我得到这个错误是因为Nagios没有运行。Apache或Nagios日志文件中没有错误。
发布于 2012-11-05 18:29:19
我也犯了同样的错误。在我的例子中,这是因为我已经将Apache用户从默认的www-数据中移开了。当我将新的Apache用户添加到www-data组时,问题就解决了。
换句话说,在我的例子中,这是一个Apache权限错误。我希望这能帮助你发现你的错误。
https://askubuntu.com/questions/201109
复制相似问题