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.

Failed to send Prolog <HTTP Status Code #403


OCS Inventory is installed on a debian 11 server with GLPI from several week.
All agent reported correctly until I set the SSO authentication for GLPI installing auth_gssapi.

Since the SSO configuration, all windows agents report this error in OCSInventory.log:
AGENT => Failed to send Prolog <HTTP Status Code #403

On server, in /var/log/apache2/error.log:
[access_compat:error] [pid 122991] [client] AH01797: client denied by server configuration: /var/www/html/ocsinventory

==> Why the path in the error.log is /var/www/html/ocsinventory? There is no ocsinventory in this path...

In /var/log/apache2/access.log:
"POST /ocsinventory HTTP/1.1" 403 437 "-" "OCS-NG_WINDOWS_AGENT_v2.9.0.0"

I've tried to reinstall OCS Inventory, reenable the z-ocsinventory-server.conf using a2enconf command but the issue is still the same.

Please, how can I solve this issue?

in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes
hi there,

I have installed the latest version of OCSReports: 2.12.1 (Server)
For some reason, the log file was not created /var/log/ocsinventory-server/activity.log
in config file /etc/apache2/conf-available/z-ocsinventory-server.conf
PerlSetEnv OCS_OPT_LOGPATH "/var/log/ocsinventory-server"
Also, I can't configure the receipt of information from my agent to the server

I can't see the error status on the server side
and on the agent side I get an error:
COM SERVER => HTTP Post response received <HTTP Status Code #403>
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #403>
I also tried different agents from to
by (160 points)
Powered by Question2Answer