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.12.3 available

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

Failed to send Prolog Status Code #403 forbidden

(Au cas ou je suis français mais parle anglais :) )

PHP : 8.1.29
OCSReports : 2.12.2
OS : CentOS7

Hi !

I have update my ocsinventory server from 2.5 to 2.12.2 and now my agent cannot send info to my server.

When i try to go to http://my-server/ocsinventory i have an error 403 access denied.

This is the agent log :

Starting OCS Inventory Agent on Tuesday, August 06, 2024 19:09:31.

AGENT => Running OCS Inventory Agent Version 2.10.1.0

AGENT => Using OCS Inventory FrameWork Version 2.10.1.0

AGENT => Loading plug-in(s)

AGENT => Using network connection with Communication Server

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

AGENT => Sending Prolog

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.

httpd access log :

192.168.x.x - - [06/Aug/2024:20:55:19 +0200] "POST /ocsinventory/ HTTP/1.1" 403 - "-" "OCS-NG_WINDOWS_AGENT_v2.10.1.0"

i have set the sql password in config file
http://my-server/ocsreports work fine
i have already restart httpd, mariadb and the server
Server are up to date

Thanks in advance for helping me :)
in OCS Inventory NG server for Unix by (200 points)

1 Answer

0 votes
Hi

See your apache configuration file if permissions have changed.

Firewall rules have changed ?

Regards
by (89.3k points)
 
Powered by Question2Answer
...