Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sonHK-00DsNJ-8U for pgsql-general@arkaria.postgresql.org; Thu, 12 Sep 2024 17:06:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sonHJ-00CuPN-Km for pgsql-general@arkaria.postgresql.org; Thu, 12 Sep 2024 17:06:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sonHJ-00CuO5-9C for pgsql-general@lists.postgresql.org; Thu, 12 Sep 2024 17:06:45 +0000 Received: from smtp5-g21.free.fr ([2a01:e0c:1:1599::14]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sonHF-000qkU-L5 for pgsql-general@postgresql.org; Thu, 12 Sep 2024 17:06:44 +0000 Received: from corindon.frsi.fr (unknown [IPv6:2a01:cb05:8478:3800:e466:6ce2:8020:cfd9]) (Authenticated sender: francois.simon@free.fr) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 7FFFD60137; Thu, 12 Sep 2024 19:06:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1726160801; bh=AFDlpLPL1WhLPtFol1ssUUZT7Wb1UlalOxc9OCiSGq4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b4PtEVlrCP7Q8TdtrF8H0qCy0AuPoF7xcof4ro128MmTBosCzgxFx/WcmpKc6xhVO OQxaLSOmaE6+GuXBE6JGT+7FLKN0diWhkEI/T2nZwf8I315d4rupgZI4fZeWBPYEH1 Cjvsp0RuBTemUHItDqy6WGC5ThY5w1yXQYHN2pqG80caeuNktfSsvp+Jbawo9GR6tD mCrGX9ZLyF9RukMWHSnC1xvxLmyq2vNrA/Zww7PxA+SzC7z0WvjWFOvD3ZtN3lA/sa eZv1J44/NeeBBiQPWu/noICWFGO0SAzd3wua09GSETJhyH1BNcfB6fibWjB1bnJYgZ gkOOduEBj2lWw== Date: Thu, 12 Sep 2024 19:06:39 +0200 From: =?iso-8859-1?Q?Fran=E7ois?= SIMON To: Adrian Klaver Cc: pgsql-general@postgresql.org Subject: Re: post-bootstrap init : permission denied pg_description Message-ID: References: <241898171.198702953.1726138710864.JavaMail.root@zimbra28-e5.priv.proxad.net> <5616584c-97c1-4b65-a6d5-a957782c44c1@aklaver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Le Thu, Sep 12, 2024 at 06:03:47PM +0200, François SIMON a écrit : > 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. > I think the environment is ok because it works with an initdb built with gcc. # ls -l /prod/postgresql V16.3 -> V16.3-build_gcc V16.3-build_gcc V16.3-build_xlc # initdb Success. You can start the database... # ln -sf V16.3-build_xlc /prod/postgresl/V16.3 V16.3 -> V16.3-build_xlc V16.3-build_gcc V16.3-build_xlc # pg_ctl -l logfile start server started # psql -d template1 psql (16.3à Type "help" for help. template1=# \l List of databases Name -------- postgres template0 template1 ... So the problem seems to come from xlc, and only at initdb step. I can see that initdb runs a backend postgres in single user mode. And this is this backend, when compiled with xlc, that shows : FATAL: permission denied for table pg_description François