Hi,
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.
https://www.postgresql.org/docs/10/auth-pg-hba-conf.html
Kind regards
Florian
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
/usr/share/icingaweb2/library/vendor/Zend/Db/Adapter/
/Pdo/Abstract.php:145 with message: SQLSTATE[08006] [7] 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?
Bernd
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users