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

Windows Agent cannot connect to OCS Server

$
0
0
Hi all

I'm a very new OCS Inventory user. I have been tasked with setting up an OCS Inventory Server. I have installed the product on Centos 7 according to the steps outlined in the official NG Wiki for OCS (Chapter: Setting up an OCS Inventory server).

I have also installed the windows agent on my desktop PC. The agent inventories everything finre locally, but cannot communicate with the server. This is what the Agent log says:

Starting OCS Inventory NG Agent on Tuesday, March 17, 2020 12:33:59.

AGENT => Running OCS Inventory NG Agent Version 2.6.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.6.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 NG cURL Communication Provider> Version <2.6.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://192.168.10.99/ocsinventory/deploy/label>

WARNING *** COM SERVER => Failed to send HTTP Get request <Couldn't connect to server>

COM SERVER => Cleaning cURL library

AGENT => Failed to retrieve Label <Couldn't connect to server>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <PC6266-2020-03-13-14-38-14> and MACs <D4:3D:7E:12:EF:B00A:00:27:00:00:04> 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.10.99/ocsinventory>

WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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

I am also somewhat new in linux environments, so I ask for patience hehe. The conf files in the server all have the correct DB authentication information.

Thanks in advance.

Viewing all articles
Browse latest Browse all 4599

Trending Articles



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