I'm attempting to set up icinga2 and icingaweb2 on a Ubuntu 16.04 system using mariadb as the database. I seem to have icinga set up OK (no errors in the icinga.log, apache error log or syslog) but when I try and navigate to the icinga2 web page I just get a blank page with the following code
<!--?php /*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */ require_once '/usr/share/php/Icinga/Application/webrouter.php'; -->
<html>
<head><head/>
<body><body/>
</html>
I get the same code regardless of navigating to /icingaweb2 or /icingaweb2/setup. I have tried to configure the system manually using the instructions on the git documentation, but still the same behaviour.
Any ideas what might be going on here?
Peter.
I had this issue. I follow this and it resolved the issue for me: icinga
resolution was:
apt-get -y install php7.0 libapache2-mod-php7.0
cheers alexis
I tried the same and got some stack trace. Please see the ticket at https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1574250