pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: initdb fails with error
Date: Fri, 17 Sep 2021 20:58:58 -0400
Message-ID: <057af9a3-110c-13fc-96d0-d26d2b6111f8@gmail.com> (raw)
In-Reply-To: <CAFpL5Vz6rtJB6xUfPebdL4da-eJfPzxJ8dNc-1Hn_mMEUjb3qA@mail.gmail.com>
References: <CAFpL5VzWMqzBM5e8O3ezshupD0UYg80uODcUV707-xL3KFdw4A@mail.gmail.com>
	<CAHg7=h4N=pEJToxb9XuQ9nBM_Sq=D4DqXV+E-Kwiw+8=rA7i0g@mail.gmail.com>
	<CAFpL5Vz6rtJB6xUfPebdL4da-eJfPzxJ8dNc-1Hn_mMEUjb3qA@mail.gmail.com>


On 9/17/21 04:57, Nikhil Shetty wrote:
> Hi Jayson,
>
> Port is correct. I don't see any issue with the parameter in 
> postgresql.conf. After a couple of tries it worked but not sure why
>
> Thanks,
> Nikhil


I would try something like "strace -e trace=file -f -o /tmp/initdb.out 
initdb <args>".  That should reveal the nature of the problem.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com






view thread (7+ messages)

Message-ID: <057af9a3-110c-13fc-96d0-d26d2b6111f8@gmail.com>
Permalink:  ../057af9a3-110c-13fc-96d0-d26d2b6111f8@gmail.com/
Also on:    postgresql.org/message-id/057af9a3-110c-13fc-96d0-d26d2b6111f8@gmail.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: gogala.mladen@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: initdb fails with error
  In-Reply-To: <057af9a3-110c-13fc-96d0-d26d2b6111f8@gmail.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