Skip to main content
Solved

Centreon 22.10 - Error with quickly install Centreon (Packages)

  • March 28, 2023
  • 2 replies
  • 481 views

Forum|alt.badge.img+1

Hello,

I am trying to install Centreon 22.10 on a fresh installation of Almalinux 8.7, using the quick install script from the Packages option (for Production Environment) following the instructions on https://download.centreon.com/, but I always get the following error and the installation stops and no longer continues:

2023-03-28 12:21:23 - INFO - Restarting MariaDB service first
2023-03-28 12:21:25 - INFO - Executing SQL requests
ERROR 1146 (42S02) at line 1: Table 'mysql.global_priv' doesn’t exist
2023-03-28 12:21:25 - ERROR - Could not apply the requests

 

I have tried to install MariaDB before launching the Centreon Script, but I also get the same error...
Can anyone help me solve it?

Thank you very much.

Best answer by lpinsivy

Can you try to install Official MariaDB repo before to run unattended.sh script?

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --os-type=rhel --os-version=8 --mariadb-server-version="mariadb-10.5"

 

2 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • Answer
  • March 28, 2023

Can you try to install Official MariaDB repo before to run unattended.sh script?

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --os-type=rhel --os-version=8 --mariadb-server-version="mariadb-10.5"

 


Forum|alt.badge.img+1
  • Author
  • Steward *
  • March 28, 2023

Installing version 10.5 of MariaDB has worked.
It seems that the installation of the Centreon package script installs 10.3 (it is the default version in the Almalinux 8 repository), and this version does not include that table, which is included in version 10.5.
So I first installed MariaDB 10.5 manually, and then launched the Centreon 22.10 install script, and that's how it worked.

Thank you. 🙂