Closed faustosm closed 2 years ago
Hi,
I have the same issue :
[38;5;6mpostgresql [38;5;5m14:37:06.04 [0m [38;5;6mpostgresql [38;5;5m14:37:06.04 [0m[1mWelcome to the Bitnami postgresql container[0m [38;5;6mpostgresql [38;5;5m14:37:06.04 [0mSubscribe to project updates by watching [1mhttps://github.com/bitnami/bitnami-docker-postgresql[0m [38;5;6mpostgresql [38;5;5m14:37:06.05 [0mSubmit issues and feature requests at [1mhttps://github.com/bitnami/bitnami-docker-postgresql/issues[0m [38;5;6mpostgresql [38;5;5m14:37:06.05 [0m [38;5;6mpostgresql [38;5;5m14:37:06.07 [0m[38;5;2mINFO [0m ==> Starting PostgreSQL setup [38;5;6mpostgresql [38;5;5m14:37:06.12 [0m[38;5;2mINFO [0m ==> Validating settings in POSTGRESQL_* env vars.. [38;5;6mpostgresql [38;5;5m14:37:06.13 [0m[38;5;2mINFO [0m ==> Loading custom pre-init scripts... [38;5;6mpostgresql [38;5;5m14:37:06.13 [0m[38;5;2mINFO [0m ==> Initializing PostgreSQL database... [38;5;6mpostgresql [38;5;5m14:37:06.17 [0m[38;5;2mINFO [0m ==> pg_hba.conf file not detected. Generating it... [38;5;6mpostgresql [38;5;5m14:37:06.17 [0m[38;5;2mINFO [0m ==> Generating local authentication configuration [38;5;6mpostgresql [38;5;5m14:37:09.85 [0m[38;5;2mINFO [0m ==> Starting PostgreSQL in background... [38;5;6mpostgresql [38;5;5m14:37:16.34 [0m[38;5;2mINFO [0m ==> Changing password of postgres [38;5;6mpostgresql [38;5;5m14:37:16.37 [0m[38;5;2mINFO [0m ==> Creating user zabbix [38;5;6mpostgresql [38;5;5m14:37:16.40 [0m[38;5;2mINFO [0m ==> Granting access to "zabbix" to the database "zabbix" [38;5;6mpostgresql [38;5;5m14:37:16.45 [0m[38;5;2mINFO [0m ==> Setting ownership for the 'public' schema database "zabbix" to "zabbix" [38;5;6mpostgresql [38;5;5m14:37:16.50 [0m[38;5;2mINFO [0m ==> Configuring replication parameters [38;5;6mpostgresql [38;5;5m14:37:16.54 [0m[38;5;2mINFO [0m ==> Configuring synchronous_replication [38;5;6mpostgresql [38;5;5m14:37:16.54 [0m[38;5;2mINFO [0m ==> Configuring fsync [38;5;6mpostgresql [38;5;5m14:37:16.60 [0m[38;5;2mINFO [0m ==> Loading custom scripts... [38;5;6mpostgresql [38;5;5m14:37:16.61 [0m[38;5;2mINFO [0m ==> Enabling remote connections [38;5;6mpostgresql [38;5;5m14:37:16.63 [0m[38;5;2mINFO [0m ==> Stopping PostgreSQL... waiting for server to shut down........ done server stopped [38;5;6mpostgresql [38;5;5m14:37:21.36 [0m[38;5;2mINFO [0m ==> PostgreSQL setup finished! [38;5;6mpostgresql [38;5;5m14:37:21.40 [0m[38;5;2mINFO [0m ==> Starting PostgreSQL 2022-03-07 14:37:21.434 GMT [1] LOG: pgaudit extension initialized 2022-03-07 14:37:21.444 GMT [1] LOG: starting PostgreSQL 14.1 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit 2022-03-07 14:37:21.445 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2022-03-07 14:37:21.445 GMT [1] LOG: listening on IPv6 address "::", port 5432 2022-03-07 14:37:21.450 GMT [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" 2022-03-07 14:37:21.474 GMT [163] LOG: database system was shut down at 2022-03-07 14:37:21 GMT 2022-03-07 14:37:21.489 GMT [1] LOG: database system is ready to accept connections 2022-03-07 14:37:27.916 GMT [177] FATAL: password authentication failed for user "zabbix" 2022-03-07 14:37:27.916 GMT [177] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5" 2022-03-07 14:37:28.117 GMT [178] FATAL: password authentication failed for user "zabbix" 2022-03-07 14:37:28.117 GMT [178] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5" 2022-03-07 14:37:33.005 GMT [179] FATAL: password authentication failed for user "zabbix" 2022-03-07 14:37:33.005 GMT [179] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5" 2022-03-07 14:37:33.088 GMT [180] FATAL: password authentication failed for user "zabbix" 2022-03-07 14:37:33.088 GMT [180] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5" 2022-03-07 14:37:33.208 GMT [181] FATAL: password authentication failed for user "zabbix" 2022-03-07 14:37:33.208 GMT [181] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5" 2022-03-07 14:37:38.174 GMT [197] FATAL: password authentication failed for user "zabbix" 2022-03-07 14:37:38.174 GMT [197] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5"
Can you help me please ?
Thanks !
Hello @faustosm and @Raph0773!
The problem is the line 59 of values.yaml
file.
The password must the same in parameters:
postgresql.auth.password
zabbixserver.POSTGRES_PASSWORD
zabbixweb.POSTGRES_PASSWORD
In this case, you need change only the postgresql.auth.password
parameter to zabbix_pwd
. See this PR https://github.com/cetic/helm-zabbix/pull/47 opened by @fmubaidien.
2022-03-04 14:14:37.300 GMT [1] LOG: pgaudit extension initialized 2022-03-04 14:14:37.306 GMT [1] LOG: starting PostgreSQL 14.1 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit 2022-03-04 14:14:37.307 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2022-03-04 14:14:37.307 GMT [1] LOG: listening on IPv6 address "::", port 5432 2022-03-04 14:14:37.311 GMT [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" 2022-03-04 14:14:37.317 GMT [93] LOG: database system was shut down at 2022-03-04 14:01:27 GMT 2022-03-04 14:14:37.324 GMT [1] LOG: database system is ready to accept connections 2022-03-04 14:14:45.835 GMT [108] FATAL: password authentication failed for user "zabbix" 2022-03-04 14:14:45.835 GMT [108] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5" 2022-03-04 14:14:48.235 GMT [109] FATAL: password authentication failed for user "zabbix" 2022-03-04 14:14:48.235 GMT [109] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5"