Peter Nunn
Peter Nunn
Looking further at the logs.. it seems to be trying to log into itself as root and that's what is failing. The mysql server is on 0.2 not 0.4.
Hmm... maybe I'm wrong here... I made that change to the compose file, but I'm still getting >icinga2_1 | done. icinga2_1 | Site 000-default already enabled icinga2_1 | Site icingaweb2-ssl...
OK.. I installed a ubuntu container on the same network as icinga2 and installed mysql client into it. I then tried to connect to the mysql server with the following...
But this does work >root@83d5cb8d81d8:/# mysql -h 172.18.0.2 --protocol=tcp -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is...
OK, I think the stand alone one started OK, especially when I put it on the same network as the graphite machine.. I then blew away the other instances and...
Having said that... I just looked at the end of the logs in the icinga instance and there are a bunch of these >Pinging 172.18.0.2:3306 Pinging 172.18.0.2:3306 Pinging 172.18.0.2:3306 which...
Right.. I removed all of the containers and volumes and tried again with a simpler password and it seems to have come up now (I can see things in the...
OK, this is a bit hinky... I just logged into the icinga2 container and there doesn't seem to be any web server running on here unless I'm missing something. 
OK, seems it a permissions issue. Fatal error: Uncaught Icinga\Exception\ConfigurationError: Can't save session, path '/var/lib/php/sessions' is not writable. in /usr/share/php/Icinga/Web/Session/PhpSession.php:98 Stack trace: #0 /usr/share/php/Icinga/Web/Session/PhpSession.php(48): Icinga\Web\Session\PhpSession->__construct(Array) #1 /usr/share/php/Icinga/Web/Session.php(32): Icinga\Web\Session\PhpSession::create() #2 /usr/share/php/Icinga/Application/Web.php(363):...
OK, no change.. apache2 fails to start and manually running apache2 results in the error above even when started as sudo. Sigh.