Hi Eric, I am attempting to set it up using Ansible config management (an in-house role), essentially following the "manual" steps described in the documentation:
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#setting-up-icingaweb2 and https://github.com/Icinga/icingaweb2/blob/master/doc/installation.md Stack trace of the error: 2016-01-14T11:40:33+00:00 - ERROR - 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: #0 /usr/share/php/Icinga/Authentication/Auth.php(259): Icinga\Authentication\AuthChain->valid() #1 /usr/share/php/Icinga/Authentication/Auth.php(93): Icinga\Authentication\Auth->authExternal() #2 /usr/share/php/Icinga/Web/StyleSheet.php(125): Icinga\Authentication\Auth->isAuthenticated() #3 /usr/share/php/Icinga/Web/StyleSheet.php(93): Icinga\Web\StyleSheet->collect() #4 /usr/share/php/Icinga/Web/StyleSheet.php(186): Icinga\Web\StyleSheet->__construct() #5 /usr/share/php/Icinga/Application/webrouter.php(64): Icinga\Web\StyleSheet::send(true) #6 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...') #7 {main} Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Data/ResourceFactory.php:77 with message: Resources not set up. Please contact your Icinga Web administrator #0 /usr/share/php/Icinga/Data/ResourceFactory.php(47): Icinga\Data\ResourceFactory::assertResourcesExist() #1 /usr/share/php/Icinga/Data/ResourceFactory.php(130): Icinga\Data\ResourceFactory::getResourceConfig('icingaweb2_pgsq...') #2 /usr/share/php/Icinga/Authentication/User/UserBackend.php(210): Icinga\Data\ResourceFactory::create('icingaweb2_pgsq...') #3 /usr/share/php/Icinga/Authentication/AuthChain.php(239): Icinga\Authentication\User\UserBackend::create('icingaweb2_auth', Object(Icinga\Data\ConfigObject)) #4 /usr/share/php/Icinga/Authentication/Auth.php(259): Icinga\Authentication\AuthChain->valid() #5 /usr/share/php/Icinga/Authentication/Auth.php(93): Icinga\Authentication\Auth->authExternal() #6 /usr/share/php/Icinga/Web/StyleSheet.php(125): Icinga\Authentication\Auth->isAuthenticated() #7 /usr/share/php/Icinga/Web/StyleSheet.php(93): Icinga\Web\StyleSheet->collect() #8 /usr/share/php/Icinga/Web/StyleSheet.php(186): Icinga\Web\StyleSheet->__construct() #9 /usr/share/php/Icinga/Application/webrouter.php(64): Icinga\Web\StyleSheet::send(true) #10 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...') #11 {main} Many thanks, *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. On 14 January 2016 at 12:11, Eric Lippmann <[email protected]> wrote: > Hi Tim, > > I attached a patch for the logger to log stack traces too. Please apply > the patch w/ > > patch -d /usr/share/php/Icinga -p3 < logger.patch > > and post the log file contents after another login attempt. > > This bug is a little mystery to me :) How did you set up the icingaweb2 > database and its users? > > Best, > Eric > > > -- > Eric Lippmann > Lead Senior Developer > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de | [email protected] > > ** OSDC 2016 - April - netways.de/osdc ** > ** OSBConf 2016 - September - osbconf.org ** > > _______________________________________________ > icinga-users mailing list > [email protected] > https://lists.icinga.org/mailman/listinfo/icinga-users > > -- "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
