Hello.
Just upgraded from NAGIOS 4.0.2 to 4.0.8.
After the upgrade, I am receiving this message:
"Whoops!
Error: Could not read object configuration data!
Here are some things you should check in order to resolve this error:
1.Verify configuration options using the -v command-line option to check for errors.
2.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.
"
But, this message only occurs when I am trying to click on MAP or TRENDS or HISTOGRAM.
All other, for example TACTICAL OVERVIEW or SERVICES are working and are showing accurate data.
When looking in my /usr/local/nagios/sbin, the HISTOGRAM.CGI, STATUSMAP.CGI and TRENDS.CGI all have different date and time compared to all the other cgi´s in this directory.
If this could have anything to do with it?
Please give me some advice as to where to start looking for errors.
Thank you.
After upgrade, missing some functions
Re: After upgrade, missing some functions
Run the following to verify your configuration is correct and post the output.
Then run the tail of the Apache error log while you click on the errored links and post that.
If the CGI are different, you may have to do the upgrade again.
Post any errors from that.
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Code: Select all
tail -f /var/log/httpd/error_log
Post any errors from that.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: After upgrade, missing some functions
The configuration check ends with:
"Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check"
Also, there are no errors in my /var/log/apache2/error.log.
Just to be sure, I moved statusjson.cgi out of its directory, and immediately there where errors in the log about the file missing.
So the logging itself seems to be working.
Is it possible to compile/fix only the .cgi´s or should I run the whole upgrade again?
"Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check"
Also, there are no errors in my /var/log/apache2/error.log.
Just to be sure, I moved statusjson.cgi out of its directory, and immediately there where errors in the log about the file missing.
So the logging itself seems to be working.
Is it possible to compile/fix only the .cgi´s or should I run the whole upgrade again?
Re: After upgrade, missing some functions
At this point, I would attempt to run the whole upgrade again.wer_ops wrote:The configuration check ends with:
"Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check"
Also, there are no errors in my /var/log/apache2/error.log.
Just to be sure, I moved statusjson.cgi out of its directory, and immediately there where errors in the log about the file missing.
So the logging itself seems to be working.
Is it possible to compile/fix only the .cgi´s or should I run the whole upgrade again?
Former Nagios Employee.
me.
me.
Re: After upgrade, missing some functions
Instead of re-running the 4.0.8 upgrade, I ran the 4.1.1 upgrade.
The result is the same: statusmap, histogram and trends are not working, seems the .CGIs have the wrong date, hence they have not been replaced during the upgrades.
Can I somehow compile those 3 cgi´s manually?
Actually, just found that I was missing libgd-tools on my server.
Ran "apt-get install libgd-tools" and the re-ran the nagios upgrade.
Now it is working as expected.
Thank you.
The result is the same: statusmap, histogram and trends are not working, seems the .CGIs have the wrong date, hence they have not been replaced during the upgrades.
Can I somehow compile those 3 cgi´s manually?
Actually, just found that I was missing libgd-tools on my server.
Ran "apt-get install libgd-tools" and the re-ran the nagios upgrade.
Now it is working as expected.
Thank you.
Re: After upgrade, missing some functions
Thanks for posting and updating us on how you got this one resolved, it's appreciated and very helpful for someone else that may be having the issue!wer_ops wrote:Instead of re-running the 4.0.8 upgrade, I ran the 4.1.1 upgrade.
The result is the same: statusmap, histogram and trends are not working, seems the .CGIs have the wrong date, hence they have not been replaced during the upgrades.
Can I somehow compile those 3 cgi´s manually?
Actually, just found that I was missing libgd-tools on my server.
Ran "apt-get install libgd-tools" and the re-ran the nagios upgrade.
Now it is working as expected.
Thank you.
Is there anything else we can do for you regarding this particular issue?
Former Nagios Employee.
me.
me.
Re: After upgrade, missing some functions
No, thank you.
You may close this case (uncertain if I can close it myself?)
Have a nice day y'all....
You may close this case (uncertain if I can close it myself?)
Have a nice day y'all....