[Pkg-nagios-devel] Bug#678221: icinga-web: database setup fails: tries to connect via TCP though socket was selected

Christoph Anton Mitterer calestyo at scientia.net
Wed Jun 20 00:18:21 UTC 2012


Package: icinga-web
Version: 1.7.0-2
Severity: important


Hi.

Maybe this is also an issue in dbconfig-common, if so please reassign :)

When I install icinga-web, and select unix/sockets and ident it still
tries to connect via tcp, showing this error in debconf:
----------------------------------
An error occurred while installing the database:

psql: FATAL: no pg_hba.conf entry for host "::1", user "icinga_web", database "icinga_web",
SSL on FATAL: no pg_hba.conf entry for host "::1", user "icinga_web", database "icinga_web",
SSL off

If at this point you choose "retry", you will be prompted with all the configuration
questions once more and another attempt will be made at performing the operation. "retry
(skip questions)" will immediately attempt the operation again, skipping all questions.
If you choose "abort", the operation will fail and you will need to downgrade, reinstall,
reconfigure this package, or otherwise manually intervene to continue using it.  If you
choose "ignore", the operation will continue, ignoring further errors from dbconfig-common.

Next step for database installation:     
----------------------------------

And postgresql logs give this:
2012-06-20 02:11:18 CEST LOG:  connection received: host=::1 port=36370
2012-06-20 02:11:18 CEST FATAL:  no pg_hba.conf entry for host "::1", user "icinga_web", database "icinga_web", SSL on

I remember that there was once a similar issue at icinga-idoutils


Cheers,
Chris.





More information about the Pkg-nagios-devel mailing list