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.

http 403 forbidden in local import in OCS inventory


          I am importing .OCS file created through local inventory through local import in OCS Inventory NG Server for Windows, but I am getting the following error during import

HTTP/1.1 403 forbidden

OS Server - Windows Server, agent version - 2.1.1



in OCS Inventory NG server for Windows by (140 points)

1 Answer

0 votes


I'm not an expert, but I have seen this error on my server (still not-working server) when I tried to import an OCS file twice.

In tha case, I had the following error in apache log (but PerlSetEnv OCS_OPT_DBI_PRINT_ERROR 1 is set in my z-ocsinventory-server.conf). 

DBD::mysql::db do failed: Duplicate entry '4' for key 'PRIMARY' at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/System.pm line 200.


by (3.7k points)
Powered by Question2Answer