Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Only old agent is working

Hi everyone,

Today I've upgraded my server version, from 2.4 to 2.7. The computers with the 2.4.0.0 agent are the only ones still sending data to the server. When I tryed the 2.7.0.1, 2.7.0.0 and 2.6.0.1 agents, none of then has sent data.

Any suggestion?
in OCS Inventory NG agent for Windows by (120 points)

3 Answers

0 votes
Same thing here.

Server upgraded from 2.6 to 2.7.

Agent 2.7.0.1 log: ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>
by (410 points)
0 votes
Hi,

@leonardo_ace : Which errors have you ?

@gianluweb : see errors in apache error log file.

Regards

Frank
by (88.5k points)
0 votes
Upgraded server and agent to 2.8.0.0.

Apache error log:

DBD::mysql::db do failed: Table 'ocsweb.registry_regvalue_cache' doesn't exist at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Cache.pm line 77.
DBD::mysql::db do failed: Table 'ocsweb.registry_regvalue_cache' doesn't exist at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Cache.pm line 78.
DBD::mysql::db do failed: Table 'ocsweb.inputs' doesn't exist at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Update.pm line 96.
...

Agent OCSInventory.log:

==============================================================================
Starting OCS Inventory Agent on Tuesday, September 15, 2020 08:27:43.
AGENT => Running OCS Inventory Agent Version 2.8.0.0
AGENT => Using OCS Inventory FrameWork Version 2.8.0.0
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\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\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory cURL Communication Provider> Version <2.8.0.0>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending fileGet request to URL <http://30-monitorsrv.intranet.aetnagroup.com/ocsinventory/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #400>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #400>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <31-GSEMPRINI-2020-09-11-11-41-32> and MACs <34:E6:D7:55:00:A700:50:56:C0:00:0100:50:56:C0:00:08D8:FC:93:BC:F8:E4> 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 => Disabling cURL SSL server validation support
    COM SERVER => Sending HTTP Post request to URL <http://30-monitorsrv.intranet.aetnagroup.com/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #400>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============

================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
by (410 points)
 
Powered by Question2Answer
...