Hello,
Since upgrading our OCS to v2.4, no agents are able to successfully send their inventories.
I am seeing errors in my /var/log/httpd/error_log as follows:
[Tue Feb 06 08:57:42 2018] [error] [client 10.11.23.178] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Tue Feb 06 08:57:52 2018] [error] [client 10.11.26.101] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
Line 189 of the script is:
$dbh->do("SET sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'");
I hit this problem last time I upgraded, but it was fixed by updating our DB access details: http://ocsinventory12.rssing.com/browser.php?indx=50766537&item=1567
This time, however, our details are correct, but we still have the problem.
Please can someone guide me on where to start looking to fix this problem?
Thank you.
EJ
System Details:
OS Name : Linux x86_64
Version : 2.6.18-419.el5.centos.plus
RAM installed : 7979 MB
CPU : Quad-Core AMD Opteron(tm) Processor 1354
PHP Version : 5.6.30
Web Server : Apache
Database Server : MySQL Community Server (GPL) by Remi version 5.5.54
Version OCSReports: 2.4