Thread: BUG #6120: Problem running post-install step in Mac OS X Lion (GM)

From:
"Paula Andrea Carvajal"
Date:

The following bug has been logged online:

Bug reference:      6120
Logged by:          Paula Andrea Carvajal
Email address:      
PostgreSQL version: 9.0.4
Operating system:   Mac OS X 10.7 (GM)
Description:        Problem running post-install step in Mac OS X Lion (GM)
Details:

Problem using EnterpriseDB Mac OS X Installer version Version 9.0.4-1 (from
http://www.enterprisedb.com/products-services-training/pgdownload).

Error message:
Problem running post-install step. Installation may not complete correctly
La inicialización del clúster de la base de datos falló.

MacBook 13-inch, Aluminum, Late 2008
Procesador 2 GHz Intel Core 2 Duo
Memoria 8 GB 1333 MHz DDR3
Pantalla Color LCD integrada 13 pulgada(s) (1280 x 800)
Gráficos NVIDIA GeForce 9400M 256 MB
Software Mac OS X Lion 10.7 (11A511)
From:
Dave Page
Date:

On Sun, Jul 17, 2011 at 2:01 AM, Paula Andrea Carvajal
<> wrote:
>
> The following bug has been logged online:
>
> Bug reference: =A0 =A0 =A06120
> Logged by: =A0 =A0 =A0 =A0 =A0Paula Andrea Carvajal
> Email address: =A0 =A0 =
> PostgreSQL version: 9.0.4
> Operating system: =A0 Mac OS X 10.7 (GM)
> Description: =A0 =A0 =A0 =A0Problem running post-install step in Mac OS X=
 Lion (GM)
> Details:
>
> Problem using EnterpriseDB Mac OS X Installer version Version 9.0.4-1 (fr=
om
> http://www.enterprisedb.com/products-services-training/pgdownload).

OS X Lion is not yet supported (it's not even released yet). If you
send the installation log, we can probably figure out what went wrong
though.



--=20
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From:
Dave Page
Date:

On Mon, Jul 18, 2011 at 8:40 PM, Paula Andrea Carvajal D=EDaz
<> wrote:
> I am testing Mac OS X Lion (Gold Master).
> Log file attached.

Thanks. I think it's pretty safe to say I'm not going to be able to do
much with this until I get my hands on a copy of Lion I'm afraid. The
log shows some unexpected output, particularly:

----
Executing /Library/PostgreSQL/9.0/installer/server/createuser.sh
"postgres" "/Library/PostgreSQL/9.0"
Script exit code: 0

Script output:
 User account 'postgres' already exists

Script stderr:
 su: unknown login: postgres
-----

--=20
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From:
simonrodan
Date:

I have worked around this by adding the postgres user by hand:

sudo dscl . -create /users/postgres
sudo mkdir -p /usr/local/pgsql/data
sudo chown postgres /usr/local/pgsql/data
sudo dscl . -passwd /users/postgres <pw>
su postgres chmod 755 /Library/PostgreSQL/9.0/bin/initdb
su postgres /Library/PostgreSQL/9.0/bin/initdb -D /usr/local/pgsql/data

(There is a predefined user in OS X Lion: "_postgres" but that's not the one
the installer is expecting... )


--
View this message in context:
http://postgresql.1045698.n5.nabble.com/BUG-6120-Problem-running-post-install-step-in-Mac-OS-X-Lion-GM-tp4598104p4665117.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
From:
blammo72
Date:

Thanks for the help with the adding the user...
When I try to set up a new server with pgAdmin3 I get the message "Postgres
not listening".
What are the next steps to get Postgresql running a database?


We at our firm never expected that postgresql installer would be deprecated
this long....

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/BUG-6120-Problem-running-post-install-step-in-Mac-OS-X-Lion-GM-tp4598104p4665739.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
From:
Alejandro Sánchez
Date:

You must to do some modifications on User Accounts on your mac:

1. Open User preferences after from Postgres Instalation
2. Rename user PostgresSQL to postgres
3. Enable the administrator permisions.
4. Execute newly the Postgres instaler.

regards,

Alejandro Sánchez
Postgres DBA


--
View this message in context:
http://postgresql.1045698.n5.nabble.com/BUG-6120-Problem-running-post-install-step-in-Mac-OS-X-Lion-GM-tp4598104p4718847.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.