first of all merry christmas to you!
After a lot of debugging, reading logfiles and research I am now reaching out to you.
Some days ago I installed Icinga2 and IcingaWeb2 on my CentOS7 Server.
Where Icinga2 has been installed from source.
While checking out the IcingaWeb2 I recognised the system telling me, that the Icinga backend is not running.
What I don´t get is, that if I run the service via "icinga2 daemon", the communication between IcingaWeb2 and Icinga2 works perfectly fine and the warning is gone within seconds.
After killing the process, it takes some time and the warning comes back, as expected.
Starting Icinga2 via systemd unit-file doens´solve this issue.
By tailing the postgresql logs, I can see, that there is no connection to the icinga datbase when running via systemd.
I even tried strace, but actually I don´t get anything out these lines.
Hope you guys can help me out, since I am running out of ideas.
Let me give you some info about my config and setup:
Host system: CentOS Linux release 7.4.1708 (Core)
Icinga2 installed from source, completely into /opt/icinga2:
Icinga2 --version: The Icinga 2 network monitoring daemon (version: v2.8.0-169-geea8e4e)
Icinga2 enabled features: checker command ido-pgsql livestatus mainlog notification perfdata statusdata
IcingaWeb2 Version: 2.5.0
IcingaWeb2 Modules: Monitoring, Doc
Attached find some of the config files, If you need anything else I´ll gladly help you to help me