Hi all, I'm running Icinga 2 (2.4.1) + web (2.1.2) from the Icinga package repos on an Ubuntu 14.04 system with NginX and PHP-FPM, and a PostgreSQL IDO DB.
I have configured my resources and auth backends but I'm still having trouble logging in with the web interface, and I get teh following error in syslog: icingaweb2[18599]: Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Authentication/AuthChain.php:242 with message: Can't create authentication backend "icingaweb2_auth". An exception was thrown: <- Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Data/ResourceFactory.php:77 with message: Resources not set up. Please contact your Icinga Web administrator ## /etc/icingaweb2/authentication.ini [icingaweb2_auth] backend = "db" resource = "icingaweb2_pgsql" ## /etc/icingaweb2/resources.ini [icingaweb2_pgsql] type = "db" db = "pgsql" host = "<IP>" port = "5432" dbname = "icingaweb2" username = "icingaweb2" password = "<PASS>" [icinga2_pgsql] type = "db" db = "pgsql" host = "<IP>" port = "5432" dbname = "icinga2" username = "icinga2" password = "<PASS>" I know permissions are set correctly as if I change the db type to something unsupported (such as "FORCE_ERROR"), I get the following error: icingaweb2[17241]: Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Authentication/AuthChain.php:242 with message: Can't create authentication backend "icingaweb2_auth". An exception was thrown: <- Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Data/Db/DbConnection.php:174 with message: Backend "FORCE_ERROR" is not supported icingaweb2[17241]: message repeated 4 times: [ Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Authentication/AuthChain.php:242 with message: Can't create authentication backend "icingaweb2_auth". An exception was thrown: <- Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Data/Db/DbConnection.php:174 with message: Backend "FORCE_ERROR" is not supported] icingaweb2[17241]: Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Authentication/AuthChain.php:242 with message: Can't create authentication backend "icingaweb2_auth". An exception was thrown: <- Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Data/ResourceFactory.php:77 with message: Resources not set up. Please contact your Icinga Web administrator Obviously I have manually connected to the backend database from the same machine to ensure it's not a connection/credentials issue. Could anyone help direct me as to where I could look next, or shed some light on the issue? Many thanks in advance, *Tim Jones* *D&D Seguridad Digital Bank* [email protected] *IT Risk, Fraud & Security *– Edificio BBVA - Av. Monforte de Lemos s/n, 28029 Madrid Before you print this message please consider if it is really necessary. Antes de imprimir este mensaje, por favor comprueba que es necesario hacerlo. -- "Este mensaje está dirigido de manera exclusiva a su destinatario y puede contener información privada y confidencial. No lo reenvíe, copie o distribuya a terceros que no deban conocer su contenido. En caso de haberlo recibido por error, rogamos lo notifique al remitente y proceda a su borrado, así como al de cualquier documento que pudiera adjuntarse. Por favor tenga en cuenta que los correos enviados vía Internet no permiten garantizar la confidencialidad de los mensajes ni su transmisión de forma íntegra. Las opiniones expresadas en el presente correo pertenecen únicamente al remitente y no representan necesariamente la opinión del Grupo BBVA." "This message is intended exclusively for the adressee and may contain privileged and confidential information. Please, do not disseminate, copy or distribute it to third parties who should not receive it. In case you have received it by mistake, please inform the sender and delete the message and attachments from your system. Please keep in mind that e-mails sent by Internet do not allow to guarantee neither the confidentiality or the integrity of the messages sent."
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
