pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: CS DBA <cs_dba@consistentstate.com>
Cc: PG Admin <pgsql-admin@postgresql.org>
Subject: Re: initdb fails on AIX
Date: Wed, 10 Aug 2011 15:16:42 -0400
Message-ID: <16192.1313003802@sss.pgh.pa.us> (raw)
In-Reply-To: <4E42D725.8070803@consistentstate.com>
References: <4E42D725.8070803@consistentstate.com>

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

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <16192.1313003802@sss.pgh.pa.us>
Permalink:  ../16192.1313003802@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16192.1313003802@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, cs_dba@consistentstate.com
  Subject: Re: initdb fails on AIX
  In-Reply-To: <16192.1313003802@sss.pgh.pa.us>

* 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