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 https://wiki.ocsinventory-ng.org. Read it before asking your question.

Anyone managed to install OCS on CentOS 8 ?

Hi,

I used this guide to install OCS on CentOS 8 :

https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server-with-rpm/

At the end of the process, I'm able to reach the server and the page asking for the SQL credentials, DB name etc. It's also asking for the SSL / HTTPS settings and certificate. Didn't see that in any tutorial so far but why not. Anyway I think I'm missing something:

First, I don't understand why the documentation doesn't mention the creation of the user and the DB itself (ocs / ocsweb). Are we supposed to do it beforehand?

Second, even if I create the DB and the user, when I fill the form and hit the "Send" button, it just doesn't do anything and I'm redirected to the same page, only this time I'm only presented with the warnings regarding the size limit of the packages and the default DB name and user to be used (the rest of the form is not showing anymore).

I guess I'm quite a noob, but I have no clue what to do... :)

Any help would be much appreciated!
Thanks
in OCS Inventory NG server for Unix by (160 points)

2 Answers

0 votes
Bonjour,

1 - Il faut un compte qui a les droits d'accès au serveur mysql. En général on utilise root. Ensuite l'installeur se charge de créer la base et l'utilisateur.

2- Regarde le fichier error_log d'apache. Dans le fichier /etc/httpd/conf.d/z-ocsinventory-server.conf met la variable OCS_OPT_DBI_PRINT_ERROR à 1. redémarre apache et reprend l'installation. Si tu as des erreurs elles apparaitront dans le fichier error_log d'apache.

Cordialement

Frank
by (90.2k points)
0 votes
Salut Frank et merci pour ta réponse. :)

J'avais également testé avec l'utilisateur root mais ça ne marchait pas non plus. Je vais refaire un essai au cas où.

Je vais également vérifier le log Apache comme tu le suggères et je te tiens au courant.

Bonne journée à toi !
by (160 points)
 
Powered by Question2Answer
...