From: CS DBA <cs_dba@consistentstate.com>
To: PG Admin <pgsql-admin@postgresql.org>
Subject: initdb fails on AIX
Date: Wed, 10 Aug 2011 13:08:21 -0600
Message-ID: <4E42D725.8070803@consistentstate.com> (raw)
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
---------------------------------------------
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: cs_dba@consistentstate.com
Subject: Re: initdb fails on AIX
In-Reply-To: <4E42D725.8070803@consistentstate.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