initdb fails on AIX - Mailing list pgsql-admin

From CS DBA
Subject initdb fails on AIX
Date
Msg-id 4E42D725.8070803@consistentstate.com
Whole thread Raw
Responses Re: initdb fails on AIX  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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
---------------------------------------------


pgsql-admin by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: FW: Character set equivalent for AL32UTF8
Next
From: Tom Lane
Date:
Subject: Re: initdb fails on AIX