Re: initdb fails on AIX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: CS DBA <cs_dba(at)consistentstate(dot)com>
Cc: PG Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: initdb fails on AIX
Date: 2011-08-10 19:16:42
Message-ID: 16192.1313003802@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

CS DBA <cs_dba(at)consistentstate(dot)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 means that initdb tried to execute "postgres -V" and didn't get any
output. What happens when you try that directly?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message CS DBA 2011-08-10 20:14:16 Re: initdb fails on AIX
Previous Message CS DBA 2011-08-10 19:08:21 initdb fails on AIX