Re: initdb fails with error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nikhil Shetty <nikhil(dot)dba04(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: initdb fails with error
Date: 2021-09-16 13:14:02
Message-ID: 1168406.1631798042@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Nikhil Shetty <nikhil(dot)dba04(at)gmail(dot)com> 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mladen Gogala 2021-09-16 14:43:04 Re: initdb fails with error
Previous Message Jayson Hreczuck 2021-09-16 11:50:53 Re: initdb fails with error