Hello everyone,
I'm asking for your help.
I have just installed a server under RHEL9 with the latest OCS version.
The inventories are not being sent to the server with error messages “cannot establish communication: 500 can't connect to ocs server” on the ocsinventory-agent.log server.
Local inventory is functional.
This command “curl -vk https://ocs_serveur/ocsinventory” returns :
"install driver(mysql) failed: can't locate DBD/mysql.pm: /usr/local/lib64/perl5/5.32/DBD/mysql.pm: permission denied at (eval 114) line3 at /usr/local/share/perl5/5.32/Apache/OcsInventory/Server/System.pm line 217"
All PERL modules are installed, including perl::DBD:mysql and mariadb.
However, the DBD directory under /usr/local/lib64/perl5/5.32 does not exist.
Mysql.pm is under /usr/lib64/perl5/vendor_perl
Thanks for your help