[Pkg-nagios-devel] Bug#678221: icinga-web: database setup fails: tries to connect via TCP though socket was selected
Markus Frosch
markus at lazyfrosch.de
Thu Jun 21 18:16:52 UTC 2012
tags 678221 wontfix
thanks
Hello Chris,
> Attached is the desired information.
thanks so far.
This is the command dbconfig-common uses to install the database schema
on my box:
su -s /bin/sh root -c 'env
HOME='\''/tmp/dbconfig-common.psql_home.vdCYbc'\''
PGPASSFILE='\''/tmp/dbconfig-common.psql_home.vdCYbc/.pgpass'\''
PGSSLMODE='\''prefer'\'' psql --set ON_ERROR_STOP=1 -q -h localhost -U
'\''icinga_web'\'' icinga_web'
The default setting for the application user is to use password and not
ident. Install the package with DEBIAN_PRIORITY=low and you will see the
option to use ident for the application user.
Also see: /etc/dbconfig-common/icinga-web.conf
Of course this won't work with my package on default because -web runs
under www-data.
You will have to skip dbconfig-common (this is currently bugged and will
be fixed in the next upload) and configure it manually.
And since you use a icinga_web user this is unsupported. Sorry.
Regards
Markus
--
Markus Frosch
markus at lazyfrosch.de
http://www.lazyfrosch.de
More information about the Pkg-nagios-devel
mailing list