Re: [ADMIN] initdb fails on AIX

2011-08-11 Thread Nicholson, Brad (Toronto, ON, CA)
-Original Message- From: pgsql-admin-ow...@postgresql.org [mailto:pgsql-admin- ow...@postgresql.org] On Behalf Of Tom Lane Sent: Wednesday, August 10, 2011 4:22 PM To: CS DBA Cc: PG Admin Subject: Re: [ADMIN] initdb fails on AIX CS DBA cs_...@consistentstate.com writes: On 08

[ADMIN] initdb fails on AIX

2011-08-10 Thread CS DBA
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)

Re: [ADMIN] initdb fails on AIX

2011-08-10 Thread Tom Lane
CS DBA cs_...@consistentstate.com writes: 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. This

Re: [ADMIN] initdb fails on AIX

2011-08-10 Thread CS DBA
On 08/10/2011 01:16 PM, Tom Lane wrote: CS DBAcs_...@consistentstate.com writes: 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

Re: [ADMIN] initdb fails on AIX

2011-08-10 Thread Tom Lane
CS DBA cs_...@consistentstate.com writes: On 08/10/2011 01:16 PM, Tom Lane wrote: This means that initdb tried to execute postgres -V and didn't get any output. What happens when you try that directly? See below. One oddity, if I compile without the --with-openssl flag (for the configure

Re: [ADMIN] initdb fails on AIX

2011-08-10 Thread CS DBA
On 08/10/2011 02:22 PM, Tom Lane wrote: CS DBAcs_...@consistentstate.com writes: On 08/10/2011 01:16 PM, Tom Lane wrote: This means that initdb tried to execute postgres -V and didn't get any output. What happens when you try that directly? See below. One oddity, if I compile without the