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 1sonV9-00Dta0-Li for pgsql-general@arkaria.postgresql.org; Thu, 12 Sep 2024 17:21:04 +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 1sonV8-00DFHY-Gw for pgsql-general@arkaria.postgresql.org; Thu, 12 Sep 2024 17:21:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sonV8-00DFGc-5I for pgsql-general@lists.postgresql.org; Thu, 12 Sep 2024 17:21:02 +0000 Received: from smtp5-g21.free.fr ([2a01:e0c:1:1599::14]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sonV4-000poQ-Ns for pgsql-general@postgresql.org; Thu, 12 Sep 2024 17:21:00 +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 9017860139; Thu, 12 Sep 2024 19:20:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1726161656; bh=gPoFifl4Iq1Xq0uOKFYOkNs66UsfhjDlp6/glLxVvoY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gh6GuSj2Y8nYJF42QdA9s5vgDObPZKavVG8vxWbh9kAWDn5hUYx3DU+mlKcJQXKJm 3CH5UiMeYEGBOAc9reayQuzwBQdPDNMtgP2S8MY0YjszQqLIG5o8m1ofTiRGsG9EhS ToywIobfVIwo0sYEpogsceDT/YOyf/DHNAkZoR2+szPsuiInUHqtqXtRWGueFLxiCY tqvJzMJ+azjTBIKGcmMyimVzZEy3jZyDGapUevzHIGtQD+B8d3q3swB6EkalaDwj1D 61xK+Q1x4YsL0J3G59ofhdjgwNAOBnifZf3uJKqYV0/ouGhBeHybaOpDE5ET0u+5G5 /iMV4S3aH2Uzg== Date: Thu, 12 Sep 2024 19:20:53 +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> <49204586-6b6b-45aa-bc7a-671c67478aba@aklaver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49204586-6b6b-45aa-bc7a-671c67478aba@aklaver.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Le Thu, Sep 12, 2024 at 09:52:57AM -0700, Adrian Klaver a écrit : > On 9/12/24 09:03, François SIMON wrote: > > $HOME is on a NFS volume. > > Have you read this?: > > https://www.postgresql.org/docs/16/creating-cluster.html#CREATING-CLUSTER-FILESYSTEM Yes. I understand NFS is OK, but yes I see some warnings. > > selecting default time zone ... Europe/Paris > > creating configuration files ... ok > > running bootstrap script ... ok > > Can you add the complete portion of the output that threw the error? # 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 performing post-bootstrap initialization ... 2024-09-12 17:38:35.580 CEST [9896122] FATAL: permission denied for table pg_description 2024-09-12 17:38:35.580 CEST [9896122] STATEMENT: WITH funcdescs AS ( SELECT p.oid as p_oid, o.oid as o_oid, oprname FROM pg_proc p JOIN pg_operator o ON oprcode = p.oid ) INSERT INTO pg_description SELECT p_oid, 'pg_proc'::regclass, 0, 'implementation of ' || oprname || ' operator' FROM funcdescs WHERE NOT EXISTS (SELECT 1 FROM pg_description WHERE objoid = p_oid AND classoid = 'pg_proc'::regclass) AND NOT EXISTS (SELECT 1 FROM pg_description WHERE objoid = o_oid AND classoid = 'pg_operator'::regclass AND description LIKE 'deprecated%'); child process exited with exit code 1 initdb: removing data directory "/net/h10/home/fsi/data" François