initdb fails on AIX

From: CS DBA <cs_dba(at)consistentstate(dot)com>
To: PG Admin <pgsql-admin(at)postgresql(dot)org>
Subject: initdb fails on AIX
Date: 2011-08-10 19:08:21
Message-ID: 4E42D725.8070803@consistentstate.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All;

We're getting the following error when we try to run initdb on an AIX box:

fgets failure: Error 0
The program "postgres" is needed by initdb but was not found in the same
directory as "/opt/app/postgres/904/bin/initdb".
Check your installation.

We did this:

1) installed (via source) postgresql 9.0.4 using the following
parameters for the configure command:

--prefix=opt/app/postgres/904 --with-openssl

2) added opt/app/postgres/904 to the current PATH

3) exported PGDATA=/pgdata/newdb

4) ran "initdb"

Note: we also ran "initdb -D /pgdata/newdb" with the same results

Thoughts?

--
---------------------------------------------
Kevin Kempter - Constent State
A PostgreSQL Professional Services Company
www.consistentstate.com
---------------------------------------------

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2011-08-10 19:16:42 Re: initdb fails on AIX
Previous Message Kevin Grittner 2011-08-10 18:42:25 Re: FW: Character set equivalent for AL32UTF8