Error message installing icinga in Centos 7

Hi,

I am trying to setup icinga on Centos7 . I am getting in the setup to the point where the error message. “There is currently no icinga instance writing to the IDO. Make sure that a icinga instance is configured and able to write to the IDO”

When I check if the database is created

MariaDB [(none)]> show databases like ‘icinga’;
±------------------+
| Database (icinga) |
±------------------+
| icinga |
±------------------+
1 row in set (0.01 sec)

MariaDB [(none)]>

any help will be great

Thanks

did you import the schema to the database ?

https://icinga.com/docs/icinga2/latest/doc/02-installation/#setting-up-the-mysql-database

It looks like the DB was created, but the scheme was not imported.

Another hint:
check with “icinga2 feature list” if the feature “ido-mysql” is enabled and there are the correct informations to access the database in /etc/icinga2/features-enabled/ido-mysql.conf

Once, I run “icinga2 feature enable ido-mysql” and restarted icinga2 services. I was good to complete the setup.

Thanks

1 Like