when the package is installed, incorrect name of some variables by default in the files:
1. /etc/httpd/conf.d/z-ocsinventory-server.conf
PerlSetEnv OCS_DB_NAME ocsweb //(corretc 'ocs')
PerlSetEnv OCS_DB_LOCAL ocsweb //(corretc 'ocs')
2. /etc/httpd/conf.d/zz-ocsinventory-restapi.conf
$ENV{OCS_DB_LOCAL} = 'ocsweb'; //(corretc 'ocs')