After updating net-mgmt/icinga2 icinga2 won't startup anymore and fails with the error: Performing sanity check of icinga2 configuration: information/cli: Icinga application loader (version: r2.3.9-1) information/cli: Loading application type: icinga/IcingaApplication information/Utility: Loading library 'libicinga.so' critical/Application: Error: Could not open '/var/cache/icinga2/icinga2.debug.tmp' file Additional information is available in '/var/log/icinga2/crash/report.1440740643.9214599'
Can you please show me a directory listing of /var/cache/icinga2 please?
Oh and does stopping and starting icinga2 using the rc script work?
Checking what has changed revealed, that someone did change the rc-script residing in /usr/local/etc/rc.d/. The whole stuff checking the existence, ownership and accessrights of directory /var/run/icinga2 and siblings has been commented out in subroutine start_precmd() od icinga2 script. This seems wrong to me: On systems with a /var/run created as tmpfs (as of ours for security reasons), the directory /var/run/icinga2 doesn't exist anymore. After deleting the comments, Icinga2 is now starting up, restarting and stopping again as expected. Thanks for the tip on checking the rc-scripts.
Fixed with the latest version.