Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.postgresql > #621

Re: postgresql-9.4 installation fails on debian wheezy

From Rainer Weikusat <rweikusat@mobileactivedefense.com>
Newsgroups comp.databases.postgresql
Subject Re: postgresql-9.4 installation fails on debian wheezy
Date 2015-01-09 16:07 +0000
Message-ID <8761cgsztl.fsf@doppelsaurus.mobileactivedefense.com> (permalink)
References <fc4b5de1-4225-4cb0-861a-ae54c222ca16@googlegroups.com>

Show all headers | View raw


inoyonartlover@googlemail.com writes:
> hi there! :)
>
> in my file:
>
> /etc/apt/sources.list.d/postgres.list
>
> I got:
>
> deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main
>
> after the installation process I have to enter:
>
> pg_createcluster 9.4 main -start
>
> but the answer is:
>
> 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
> could not change directory to "/etc/apt/sources.list.d": Permission denied
> initdb: could not look up effective user ID 104: Permission denied
> Error: initdb failed
>
> os is debian wheezy
>
> what can I do?

Try this again as root?

Back to comp.databases.postgresql | Previous | NextPrevious in thread | Find similar


Thread

postgresql-9.4 installation fails on debian wheezy inoyonartlover@googlemail.com - 2015-01-08 13:43 -0800
  Re: postgresql-9.4 installation fails on debian wheezy Dimitri Fontaine <dimitri@2ndQuadrant.fr> - 2015-01-08 23:22 +0100
  Re: postgresql-9.4 installation fails on debian wheezy Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2015-01-09 16:07 +0000

csiph-web