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 184.108.40.206
AGENT => Using OCS Inventory NG FrameWork Version 220.127.116.11
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 <18.104.22.168>
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.