Icinga2 не запускается, так как не может загрузить библиотеку db_ido_mysql

Вот ошибка:

root@taurus:/etc/icinga2/features-available# service icinga2 checkconfig
* checking Icinga2 configuration
information/cli: Icinga application loader (version: r2.7.2-1)
information/cli: Loading configuration file(s).
critical/config: Error: Error while evaluating expression: Could not load library 'libdb_ido_mysql.so.2.7.2': libdb_ido_mysql.so.2.7.2: cannot open shared object file: No such file or directory
Location: in /etc/icinga2/features-enabled/ido-mysql.conf: 6:1-6:22
/etc/icinga2/features-enabled/ido-mysql.conf(4): */
/etc/icinga2/features-enabled/ido-mysql.conf(5):
/etc/icinga2/features-enabled/ido-mysql.conf(6): library "db_ido_mysql"
^^^^^^^^^^^^^^^^^^^^^^
/etc/icinga2/features-enabled/ido-mysql.conf(7):
/etc/icinga2/features-enabled/ido-mysql.conf(8): object IdoMysqlConnection "ido-mysql" {

* checking Icinga2 configuration. Check '/var/log/icinga2/startup.log' for details.


root@taurus:/etc/icinga2/features-available# icinga2 feature list
Disabled features: command compatlog debuglog gelf graphite influxdb livestatus opentsdb perfdata statusdata syslog
Enabled features: api checker ido-mysql ido-pgsql mainlog notification

Кто-нибудь знает, что я сделал не так во время установки? проблем не было, я не получаю ответа.


person WhoAmI    schedule 13.11.2017    source источник


Ответы (1)


Вы хотите использовать Icingaweb2 с вашей установкой Icinga2? Затем необходимо установить

icinga2-ido-mysql

Пакет для вашего дистрибутива и настроить его. Здесь вы можете найти пошаговую инструкцию как его установить и настроить. Если нет, отключите следующие функции:

ido-mysql ido-pgsql

С уважением, Ян

person Jan    schedule 15.11.2017