[icinga-users] Icingaweb2 wizard with postgres fails
bachmann.f at gmail.com
Sun Feb 10 20:48:01 CET 2019
this sounds like PostgreSQL authentication has not been properly configured.
While Andreas apparently tries to connect using password authentication
(not enabled with the default RHEL/CentOS postgresql configuration if I
remember correctly, and you will need to create the database roles
beforehand with the "postgres" administrator account), you seem to be
trying to authenticate with "ident", which basically means "if the db
user name matches the name of the user running the PostgreSQL client (as
reported by the operating system) that is good enough and we don't need
no stinking passwords!". Unless your web server runs under the
"icingaweb" account, that isn't going to work out.
Basically both of you should study the PostgreSQL documentation for the
pg_hba.conf file, modify that file to fit your requirements, then
recycle the PostgreSQL daemon (systemctl restart postgresql, reload
isn't good enough) and try again.
On 08.02.2019 15:41, Bernd Nachtigall wrote:
> Am 28.12.18 um 20:47 schrieb Andreas Kasenides:
>> trying to install Icingaweb2 using the wizard fails at the last
>> configuration step with the following result:
>> ERROR: Zend_Db_Adapter_Exception in
>> /Pdo/Abstract.php:145 with message: SQLSTATE  FATAL:
>> password authentication failed for user "icingaweb"
> I run to a similar error when configuring icingaweb2 via wizard.
> When reach the page 'Database Reaource' i see a yellow message above
> that the wizard is unable to check the servers version. (pgsql version
> 10.x is running at this time!) The message say that I can skip the
> validation if I am sure that the version is equal or never that version
> 9.1. But the last sentence is: 'FATAL: Ident authentication failed for
> user "icingaweb"'
> If skip the validation I can run the wizard to the end but get the same
> error as Andreas.
> Any hints?
> icinga-users mailing list
> icinga-users at lists.icinga.org
More information about the icinga-users