0

这是错误:

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

有人知道我在安装过程中做错了什么吗?没有问题,我没有得到答案。

4

1 回答 1

0

你想在你的 Icinga2 安装中使用 Icingaweb2 吗?然后你必须安装

icinga2-ido-mysql

为您的发行版打包并配置它。在这里,您可以找到有关如何安装和配置它的分步说明。如果没有,请禁用以下功能:

ido-mysql ido-pgsql

问候,扬

于 2017-11-15T21:56:10.417 回答