Hello,
I can't receive some agent inventory for some Windows agents in my network which are sending #500 error now.
I try to restart apache, reinstall agent for each computers that are not sending inventory.
Here are the error.log from apache :
[Wed May 10 10:16:29.078767 2017] [perl:error] [pid 2921] [client 192.168.102.56:49595] Not a HASH reference at /usr/local/share/perl/5.20.2/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm line 74.\n
Here are the log from access.log from apache:
192.168.102.56 - - [10/May/2017:10:16:29 +0000] "POST /ocsinventory HTTP/1.1" 500 6117 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"
Here are the log from the Windows agent:
Starting OCS Inventory NG Agent on Wednesday, May 10, 2017 12:16:28.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.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.3.0.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <HI-W8-BJPRRY1-2017-05-08-14-07-43> and MACs <F0:1F:AF:11:13:56A4:4E:31:60:5A:A8A4:4E:31:60:5A:A9> 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://inventory.hitec.lu/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:01.
Any help would be appreciated! Thanks in advance.
Best,
gqut