Re: post-bootstrap init : permission denied pg_description - Mailing list pgsql-general

From François SIMON
Subject Re: post-bootstrap init : permission denied pg_description
Date
Msg-id ZuMQ44BSc4kpaBhK@corindon.frsi.fr
Whole thread Raw
In response to Re: post-bootstrap init : permission denied pg_description  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: post-bootstrap init : permission denied pg_description
Re: post-bootstrap init : permission denied pg_description
List 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
tablepg_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



pgsql-general by date:

Previous
From: Thiemo Kellner
Date:
Subject: Better way to process records in bash?
Next
From: Ron Johnson
Date:
Subject: Re: Better way to process records in bash?