[Pkg-nagios-devel] Bug#830888: icinga2-ido-pgsql: dbconfig configuration fails with unix sockets

Christoph Anton Mitterer calestyo at scientia.net
Tue Jul 12 16:37:52 UTC 2016


Package: icinga2-ido-pgsql
Version: 2.4.10-1~bpo8+1
Severity: important


Hi.

On jessie with the backports package,... when selecting to use unix sockets
during dbconfig, it apparently still tries to create the DB/etc. using
TCP and an error appears:

An error occurred while installing the database:
psql: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server:
Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432

Of course there is nothing to connect there as I've configured my postgresql
server to only listen on sockets.

Also tried it with dbconfig-common 2.0.4~bpo8+1, same problem.
Perhaps it's also a bug there, if so please reassign :)

Thanks,
Chris.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-nagios-devel mailing list