Re: post-bootstrap init : permission denied pg_description

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: François SIMON <francois(dot)simon(at)free(dot)fr>, pgsql-general(at)postgresql(dot)org
Subject: Re: post-bootstrap init : permission denied pg_description
Date: 2024-09-12 15:20:59
Message-ID: 5616584c-97c1-4b65-a6d5-a957782c44c1@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/12/24 03:58, François SIMON wrote:
> Hello All,
>
> I am trying to install PostgreSQL 16.4 on AIX 7.1.
>
> I get an error at initdb step :
>
> performing post-bootstrap initialization ... 2024-09-12 12:09:07.075 CEST [14745748] FATAL: permission denied for table pg_description

That looks like an issue with the user you are running the command as.

What user is that?

What is the complete initdb command you used?

>
> This version of PostgreSQL was build on this machine with
> IBM XL C compiler 10.1 :
>
> export OBJECT_MODE=64
> $srcdir/configure --prefix=$instdir --without-icu
> make
> make install
>
> When I run initdb with -n option, I can see that files in
> PGDATA directory seem to have expected permissions.
>
> I have tried to install PostgreSQL 15.1, 16.0 and 16.3
> but got the same error with all these versions.
>
> Any help would be appreciated.
>
> François
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-09-12 15:25:14 Re: Connection between PostgreSQL and SAP HANA database
Previous Message Ron Johnson 2024-09-12 15:08:16 Better way to process records in bash?