Hey all.
I'm on Debian, and started getting this error...probably after an update...so I'm assuming it's some permission error.
First off, nagios3 -v /etc/nagios3/nagios.cfg doesn't produce any errors.
The GUI partially loads. I can see the left menu bar and top bar, with the "Whoops!" error in the main content field.
logs don't show anything useful
[1495847552] Nagios 3.4.1 starting... (PID=23613)
[1495847552] Local time is Sat May 27 01:12:32 UTC 2017
[1495847552] LOG VERSION: 2.0
[1495847552] Finished daemonizing... (New PID=23614)
Any chance there another location that might provide some hints for troubleshooting this?
Dreaded "Error: Could not read object configuration data"
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Dreaded "Error: Could not read object configuration data
What's the output of the following:
?
Also, can you attach that nagios.cfg?
It would be my suggestion to do away with that over version of nagios and update to the latest. We can obviously try to help with the old version, but a lot of bugs have been fixed since then and compiling is really not that complicated: https://support.nagios.com/kb/article.php?id=96#Debian
Code: Select all
find / -name *nagios*
ls -la /etc/nagios3
Also, can you attach that nagios.cfg?
It would be my suggestion to do away with that over version of nagios and update to the latest. We can obviously try to help with the old version, but a lot of bugs have been fixed since then and compiling is really not that complicated: https://support.nagios.com/kb/article.php?id=96#Debian
Re: Dreaded "Error: Could not read object configuration data
Thanks for taking the time to help.
https://pastebin.com/mZxw6Cth
Seems the aptitude repo only has the older version. I'll have to update it manuall.
https://pastebin.com/mZxw6Cth
Seems the aptitude repo only has the older version. I'll have to update it manuall.
Re: Dreaded "Error: Could not read object configuration data
Sounds like it makes more sense for me to install the latest stable and migrate (hopefully just move) my config over and see how that goes.
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Dreaded "Error: Could not read object configuration data
The process is slightly more involved when it's repo to compiled, but here are instructions for Core migrations: https://assets.nagios.com/downloads/nag ... ading.html
Please let us know if you run into any issues!
Please let us know if you run into any issues!