Closed TM08353 closed 6 years ago
That's highly likely a duplicate of #6445.
Thank you. Confirmed. Missed that because it did not mention the DB.
Starting manually in a screen session without the "-d" after "deamon" is running as expected. Will use that as a workaround.
The upgrade from 2.8.4-1.trusty to 2.9.0-1.trusty seems to have broken the connection to the mysql-ido backend. Icinga2 is still running, checks are performed, notification emails sent, but no updates are written to the database and icingaweb2 is frozen at the old state.
Expected Behavior
Updates should be written to the database
Current Behavior
No updates are written
Steps to Reproduce (for bugs)
unsure - the automatic upgrade seems to have triggered this.
Context
Well, having access to the web frontend is kind of basic... ;)
Your Environment
icinga2 --version
): icinga2 - The Icinga 2 network monitoring daemon (version: r2.9.0-1)Copyright (c) 2012-2018 Icinga Development Team (https://www.icinga.com/) License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl2.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Application information: Installation root: /usr Sysconf directory: /etc Run directory: /run Local state directory: /var Package data directory: /usr/share/icinga2 State path: /var/lib/icinga2/icinga2.state Modified attributes path: /var/lib/icinga2/modified-attributes.conf Objects path: /var/cache/icinga2/icinga2.debug Vars path: /var/cache/icinga2/icinga2.vars PID path: /run/icinga2/icinga2.pid
System information: Platform: Ubuntu Platform version: 14.04.5 LTS, Trusty Tahr Kernel: Linux Kernel version: 3.13.0-153-generic Architecture: x86_64
Build information: Compiler: GNU 4.8.2 Build host: 057266a66422
Operating System and version: cat /etc/os-release NAME="Ubuntu" VERSION="14.04.5 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.5 LTS" VERSION_ID="14.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
Enabled features (
icinga2 feature list
): Disabled features: api compatlog elasticsearch gelf graphite icingastatus influxdb livestatus opentsdb statusdata syslog Enabled features: checker command debuglog ido-mysql mainlog notification perfdataIcinga Web 2 version and modules (System - About): 2.4.2 doc | 2.4.2 monitoring | 2.4.2 pnp | 1.0.1
Config validation (
icinga2 daemon -C
):Validating the backend in icingaweb2->Configuration->Resources->icinga_ido seems OK
Debug log is showing nothing usefull
Please let me know how to debug this further, and I will be happy to help with more data.
Cheers and thanks, Tobias