Re: post-bootstrap init : permission denied pg_description

From: François SIMON <francois(dot)simon(at)free(dot)fr>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: post-bootstrap init : permission denied pg_description
Date: 2024-09-12 16:03:47
Message-ID: ZuMQ44BSc4kpaBhK@corindon.frsi.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le Thu, Sep 12, 2024 at 08:20:59AM -0700, Adrian Klaver a écrit :
> 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?

A normal user account.

> What is the complete initdb command you used?

I use no option.

PGDATA is set to a subdirectory of $HOME for this user.
$HOME is on a NFS volume.

# export PGDATA=$HOME/data
# initdb
The files belonging to this database system will be owned by user "fsi".
This user must also own the server process.

The database cluster will be initialized with locale "C".
The default database encoding has accordingly been set to "SQL_ASCII".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /net/h10/home/fsi/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Europe/Paris
creating configuration files ... ok
running bootstrap script ... ok

Thank you for your help.

François

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2024-09-12 16:08:09 Re: Better way to process records in bash?
Previous Message Thiemo Kellner 2024-09-12 15:42:44 Better way to process records in bash?