Hi!
I've installed OCS server on Ubuntu. Web Interface is running fine, no entries in apache error.log. I have one agent installed on windows. When I trigger the agent to send the data to the server, this is what I get in apaches access.log:
10.110.100.177 - - [22/Feb/2017:15:14:21 +0100] "GET /ocsinventory/deploy/label HTTP/1.1" 400 484 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"
10.110.100.177 - - [22/Feb/2017:15:14:22 +0100] "POST /ocsinventory HTTP/1.1" 301 531 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"
10.110.100.177 - - [22/Feb/2017:15:14:22 +0100] "GET /ocsinventory/ HTTP/1.1" 400 484 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"
An here is the ocsinventory.log from the windows machine:
==============================================================================
Starting OCS Inventory NG Agent on Wednesday, February 22, 2017 15:20:03.
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 getLabel request
COM SERVER => Initializing cURL library for getFile
COM SERVER => Using cURL with server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending fileGet request to URL <http://[IP]/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 <COMPUTERNAME-2017-02-16-12-52-22> and MACs <[MAC]> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL with 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://[IP]/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.
Both server and agent are Version 2.3. I do not see any data within OCS web interface...
Any help would be appreciated.
Thanks!