Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

Agent communication dont works

$
0
0

Hi,

I have some problems with communications between server and agent.

I've been used the link http://ip/ocsinventory and http://ip/ocsreports as server link. None of the links worked.

Specifications/versions:

  • Server: Ubuntu 20.04.3 LTS
  • OCS Reports: 2.9.2
  • OCS Server: 2.9.2
  • OCS Agent: 2.9.0.0

Agent log:

==============================================================================

Starting OCS Inventory Agent on Wednesday, February 09, 2022 13:44:21.

AGENT => Running OCS Inventory Agent Version 2.9.0.0

AGENT => Using OCS Inventory FrameWork Version 2.9.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.9.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://suporte.construrohr.com.br/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 <VIVO-NOTE05-2022-02-09-13-43-08> and MACs <00:FF:26:A0:B3:CB64:1C:67:BD:B7:B340:EC:99:1F:42:61> 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://suporte.construrohr.com.br/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #404>

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:00.


My ocsinventory.ini:

[OCS Inventory Agent]

ComProvider=ComHTTP.dll

Debug=1

Local=

NoSoftware=0

HKCU=0

NoTAG=0

IpDisc=

[HTTP]

Server=http://ip/ocsinventory

SSL=0

CaBundle=cacert.pem

AuthRequired=0

User=

Pwd=

ProxyType=0

Proxy=

ProxyPort=0

ProxyAuthRequired=0

ProxyUser=

ProxyPwd=

[OCS Inventory Service]

TTO_WAIT=60

INVENTORY_ON_STARTUP=0

PROLOG_FREQ=10

OLD_PROLOG_FREQ=10


Can anyone help me with that communication issue?


Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>