Hi everyone,
I am having an issue when sending the agent's info on the server. I get an http 403 error when trying to access to the http://myServerIp/ocsinventory.
When installing the agent and choosing the address, I am making sure it is in the correct way (aka http://myServerIp/ocsinventory)
However the server can't receive the agent's info.
The OcsReports panel seems to be installed proprely and correctly. I have fully access to http://myServerIp/ocsreports.
I put the correct database name, username and password in the configuration files.
After checking the agent's logs, i can see that there is an http error 403, http://myServerIP/ocsinventory access being forbidden.
I have tried searching on the internet but i haven't found any solution, and I have reinstalled a second time to server to make sure I installed the server correctly.
Here's a list of what ive tried :
- Updated my system
- Install php extensions and packages required by the server
- Install and enable perl modules
- Create a database
- Download, configurate the setup.sh (with correct db user and db password) and install
- Configurate (put the correct db name, db user and db password) and enable the 3 .conf files
- Change the ownership of the ocsinventory-reports directory to www-data user, and change the permission to 755
- And finally finishing the installation on http://MyServerIp/ocsreports, and delete the installer.
Please help
Thanks!
PS : Je parle français
OS Server : Ubuntu 22.04
OCS Server : 12.0
OCS Agent : 2.10.1_0
Error obtained in the agent log : ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #403>