Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

/ocsinventory Error 403 from Agent

I have a OCSInventory installation that was working fine on a fiscal server. I backed up the database and installed another server on a Xen VM. But now when client tries to communicate with server, i get a 403 error.

I've check the database password on ocsreports and ocsinventory config files and they're the same. The ocsreports works fine, but not /ocsinventory virtual folder. Below is the agent log.


Starting OCS Inventory NG Agent on Thursday, September 24, 2015 09:38:49.

AGENT => Running OCS Inventory NG Agent Version

AGENT => Using OCS Inventory NG FrameWork Version

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Arquivos de programas\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:\Arquivos de programas\OCS Inventory Agent\ComHTTP.dll>

AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <MARCELO-2015-03-10-10-24-08> and MACs <00:E0:52:C0:F2:44> 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://ocsinventory-ng/ocsinventory>

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

COM SERVER => Cleaning cURL library

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

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:00.
in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes

Did you tried with https protocol?


by (88.5k points)
Powered by Question2Answer