Hello,
I've set an OCS server up on our network, but no information is uploaded to the server's db. Each time the agent launchs, I get a 404 HTTP error. I've seen this issue a lot over differents forums but I couldn't figure how to fix it.
So I'm running the 2.1.2 OCS server on a 14.04LTS Ubuntu .
My ocsinventory.ini on our clients :
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=1
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://192.168.0.200/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=1
User=YDH5T5U8W2P28dtVDuO7fQ==|||fh/gKLdX5+kz2OXfypbmsQ==
Pwd=YOmkBb/pNpyhI6s/alEQoQ==|||1aGr+WTzpHydMoJPzdX3SA==
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=0
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10
OCSInventory.log
==============================================================================
Starting OCS Inventory NG Agent on Tuesday, July 07, 2015 11:35:07.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
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) succesfully 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.1.1.1>
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://192.168.0.200/ocsinventory/deploy/label>
COM SERVER => fileGet response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <POR-TBLONDY-2015-06-16-16-30-11> and MACs <00:26:6C:88:70:FE4C:ED:DE:11:6D:D708:00:27:00:C0:344C:ED:DE:11:6D:D7> 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://192.168.0.200/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.
I've been trying to figure it our for 2 days now, but my linux skills are a bit rusty so maybe I'm missing the obvious there?