Postgres installation is failing in mac

Started by Venkata Noriover 1 year ago4 messagesgeneral
Jump to latest
#1Venkata Nori
venori26@in.ibm.com

Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.

Regards,
Prasad Nori
Senior Data Scientist
Indian Software Labs (ISL)
E-mail: venori26@in.ibm.com<mailto:venori26@in.ibm.com>

#2Daniel Gustafsson
daniel@yesql.se
In reply to: Venkata Nori (#1)
Re: Postgres installation is failing in mac

On 18 Oct 2024, at 04:21, Venkata Nori <venori26@in.ibm.com> wrote:

Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.

There is no information in this post which could assist anyone in helping you,
if you would like help I suggest you provide a lot more details. Which
installer was used? Where was it downloaded from? Which macOS version? Which
PostgreSQL version? Does the system log say anything? Is there enough space
on the partition? Do you have admin rights or is it a managed device? And so on..

--
Daniel Gustafsson

#3Venkata Nori
venori26@in.ibm.com
In reply to: Daniel Gustafsson (#2)
RE: Postgres installation is failing in mac

The issue is fixed.

Version: Postgres 17

Now i am facing a new issue in creating a new database server

Please find attached

Regards,
Prasad Nori
Senior Data Scientist
Indian Software Labs (ISL)
E-mail: venori26@in.ibm.com<mailto:venori26@in.ibm.com>
________________________________
From: Daniel Gustafsson <daniel@yesql.se>
Sent: Friday, October 18, 2024 3:25 PM
To: Venkata Nori <venori26@in.ibm.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: [EXTERNAL] Re: Postgres installation is failing in mac

On 18 Oct 2024, at 04:21, Venkata Nori <venori26@in.ibm.com> wrote:

Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.

There is no information in this post which could assist anyone in helping you,
if you would like help I suggest you provide a lot more details. Which
installer was used? Where was it downloaded from? Which macOS version? Which
PostgreSQL version? Does the system log say anything? Is there enough space
on the partition? Do you have admin rights or is it a managed device? And so on..

--
Daniel Gustafsson

Attachments:

Screenshot 2024-10-19 at 12.34.13 PM.pngimage/png; name="=?utf-8?B?U2NyZWVuc2hvdCAyMDI0LTEwLTE5IGF0IDEyLjM0LjEz4oCvUE0ucG5n?="Download+2-1
#4Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Venkata Nori (#3)
Re: Postgres installation is failing in mac

On 10/19/24 00:23, Venkata Nori wrote:

The issue is fixed.

Version: Postgres 17

Now i am facing a new issue in creating a new database server

1) The error is in connecting to an existing database, not creating a
new server.

2) Looks to me like the PATH for the Postgres binaries is not set
properly. That would be under Preferences --> Paths --> Binary Paths.
From there you select the installed Postgres version you are working
with and make sure the correct PATH is set.

Please find attached

--
Adrian Klaver
adrian.klaver@aklaver.com