Icinga2 does not start because he could not load library "db_ido_mysql"

This forum was archived to /woltlab and is now in read-only mode.
  • Here is the Error:(

    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(6): library "db_ido_mysql"



    /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

  • Hi,

    please read the FAQ and provide more information about your setup (OS version, etc.).

    Is this your first setup or did you upgrade an existing setup? We need more context to help here.

    I see that you have enabled "ido-mysql" and "ido-pgsql", you should choose only one feature, only MySQL or only PostgreSQL. Also ensure that you have installed the features, they have own packages.

  • Known problem with Debian/Ubuntu - icinga2-common provides the feature config files, but the binaries are located inside icinga2-ido-mysql.


    Comment on that issue please if that describes your problem.