On 2013-08-12 15:01, Laurens Vets wrote:
This morning, I upgraded my r4200 installation to the latest release (r4280). After this update, "./discovery -h none" would not output anything when run. This also means that the DB was not updated to 080.sql. After a lot of troubleshooting I could not determine what went wrong and went back to r4200. Observium worked again after this. I then started upgrading per 10 releases and after r4260, Observium stops working (no output when running "./discovery -h none"). So, for me, r4260 is the last Observium release that works and r4261 is the first one that does not work anymore...
Check that you have enabled INNODB engine in mysql:
http://www.linuxspy.com/1230/how-to-check-if-innodb-engine-is-enabled-in-mys...
[root@bak observium]# mysqladmin -u root -p variables | grep have_innodb Enter password: | have_innodb | YES | [root@bak observium]#
This is on CentOS 6.4 with all updates installed:
[root@bak observium]# ./scripts/os Linux|2.6.32-358.14.1.el6.x86_64|amd64|CentOS|6.4 [root@bak observium]#
Is anybody else experiencing the same issue? Any idea what might be causing this? What additional things can I do to help solve this?
In addition to the above, I reran all sql statements in 080.sql manually to make sure they didn't generate errors. All statements worked without problem. Updated r4261, still no output from discovery.php.
I actually got further now. I noticed bug 426 (OBSERVIUM-426: function rrd_info in collectd/function conflict with PECL rrd_info) on Jira. I did not have the package php5-rrd installed (I believe it's called php-pecl-rrd on CentOS), but I did have a package rrdtool-php installed. After removing this package and upgrading to r4261 "./discovery -h none" gives output now, but browsing Observium itself still does not work. I also tried upgrading to the latest version with the same result. Going back to r4620 makes everything work.
Can it be that there's still a conflict between those packages and Observium somewhere?