pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: initdb fails with error
Date: Thu, 16 Sep 2021 17:08:05 +0200
Message-ID: <6C557EEA-C6C0-46A7-AA22-DC8012765AE6@jakobs.com> (raw)
In-Reply-To: <4f8e4c39-38cf-eda4-fc27-193ada3312f3@gmail.com>
References: <CAFpL5VzWMqzBM5e8O3ezshupD0UYg80uODcUV707-xL3KFdw4A@mail.gmail.com>
	<4f8e4c39-38cf-eda4-fc27-193ada3312f3@gmail.com>

Firewall may prevent a connection, but not starting is the server. 

The message clearly states that the setting of the port is wrong.

Am 16. September 2021 16:43:04 MESZ schrieb Mladen Gogala <gogala.mladen@gmail.com>:
>On 9/16/21 07:47, Nikhil Shetty wrote:
>
>> Hi Team,
>>
>> I find strange behaviour today when initializing the postgres cluster.
>>
>> Below is the ERROR :
>>
>> creating configuration files ... ok
>> running bootstrap script ... 2021-09-16 11:42:47.944 GMT [24522] 
>> FATAL:  invalid value for parameter "port": ""
>> child process exited with exit code 1
>> initdb: removing data directory "/data/postgres/pg11/test"
>>
>> Any reason why this would be happening?
>>
>> Thanks,
>> Nikhil
>
>
>Do you have the local firewall running?
>

-- 
Holger Jakobs, Bergisch Gladbach
+49 178 9759012
- sent from mobile, therefore short -





view thread (7+ messages)  latest in thread

Message-ID: <6C557EEA-C6C0-46A7-AA22-DC8012765AE6@jakobs.com>
Permalink:  ../6C557EEA-C6C0-46A7-AA22-DC8012765AE6@jakobs.com/
Also on:    postgresql.org/message-id/6C557EEA-C6C0-46A7-AA22-DC8012765AE6@jakobs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: holger@jakobs.com, pgsql-admin@lists.postgresql.org
  Subject: Re: initdb fails with error
  In-Reply-To: <6C557EEA-C6C0-46A7-AA22-DC8012765AE6@jakobs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox