Hi,
ocsinventory-ng server on a Debian Stretch.
After the last system upgrade
(Install: libconfig-inifiles-perl(2.94-1), Upgrade: mariadb-common(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), mariadb-server-core-10.1(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), mariadb-server-10.1(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), mariadb-client-10.1(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), mariadb-client-core-10.1(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), libmariadbclient18:i386 (10.1.26-0+deb9u1, 10.1.37-0+deb9u1)
all agents now receive a http error 500:
Starting OCS Inventory NG Agent on Monday, November 26, 2018 11:31:58.
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.4.0.0
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <WUT-2018-11-25-15-48-17> and MACs <BA:71:75:85:97:6F> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
COM SERVER => Sending HTTP Post request to URL <https://ocsinventory.cgil.int.cgil.tn.it/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #500>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
in /var/log/apache2/error.log I see these errors, for every agent connection tried:
DBD::mysql::dr connect warning: at /usr/share/perl5/Apache/DBI.pm line 213.
[Mon Nov 26 11:44:49.289317 2018] [perl:error] [pid 352] [client 192.168.31.113:52312] Can't call method "rollback" on an undefined value at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Server/System.pm line 282.\n
ocsinventory-ng server version is 2.5, and agents versions are from 2.3.1 to 2.4
Is there a fix for this? Thanks