[Pkg-postgresql-public] Bug#795410: postgresql-common: pg_createcluster fails on clean install of postgresql

Christoph Berg myon at debian.org
Fri Aug 14 17:34:44 UTC 2015


Control: tags -1 moreinfo

Re: Sergio Carvalho 2015-08-13 <20150813184358.3021.68521.reportbug at profissional-db>
> The installer produces this output:
> 
> Setting up postgresql-9.4 (9.4.4-1) ...
> Creating new cluster 9.4/main ...
>   config /etc/postgresql/9.4/main
>   data   /var/lib/postgresql/9.4/main
>   locale en_US.UTF-8
> Flags of /var/lib/postgresql/9.4/main set as -------------e-C
> Warning: The socket directory for owners other than 'postgres'
> defaults to /tmp. You might want to change the unix_socket_directories parameter
> in postgresql.conf to a more secure directory.
> Error: could not open /etc/postgresql/9.4/main/postgresql.conf for reading at /usr/share/perl5/PgCommon.pm line 194.
> Can't exec "/bin/sh": Permission denied at /usr/bin/pg_createcluster line 590.

Hi Sergio,

to me it seems the /bin/sh error is the root of the problem. Could you
check what's up with that? If that's broken it's no wonder the
utilities fail in some way.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/



More information about the Pkg-postgresql-public mailing list