Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQrDR-0001E3-4Q for pgsql-admin@arkaria.postgresql.org; Thu, 16 Sep 2021 13:14:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mQrDQ-0000dn-3J for pgsql-admin@arkaria.postgresql.org; Thu, 16 Sep 2021 13:14:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQrDP-0000de-QR for pgsql-admin@lists.postgresql.org; Thu, 16 Sep 2021 13:14:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQrDJ-0004DM-Af for pgsql-admin@postgresql.org; Thu, 16 Sep 2021 13:14:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 18GDE2nx1168407; Thu, 16 Sep 2021 09:14:02 -0400 From: Tom Lane To: Nikhil Shetty cc: pgsql-admin Subject: Re: initdb fails with error In-reply-to: References: Comments: In-reply-to Nikhil Shetty message dated "Thu, 16 Sep 2021 17:17:18 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1168405.1631798042.1@sss.pgh.pa.us> Date: Thu, 16 Sep 2021 09:14:02 -0400 Message-ID: <1168406.1631798042@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nikhil Shetty writes: > running bootstrap script ... 2021-09-16 11:42:47.944 GMT [24522] FATAL: > invalid value for parameter "port": "" Perhaps you have an incorrect environment setting for PGPORT ? I can duplicate that if I run initdb after export PGPORT="" regards, tom lane