Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3FD39B5DBDB for ; Wed, 10 Aug 2011 16:16:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 44673-05 for ; Wed, 10 Aug 2011 19:16:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id BA86EB5D80A for ; Wed, 10 Aug 2011 16:16:43 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p7AJGgMR016193; Wed, 10 Aug 2011 15:16:42 -0400 (EDT) To: CS DBA cc: PG Admin Subject: Re: initdb fails on AIX In-reply-to: <4E42D725.8070803@consistentstate.com> References: <4E42D725.8070803@consistentstate.com> Comments: In-reply-to CS DBA message dated "Wed, 10 Aug 2011 13:08:21 -0600" Date: Wed, 10 Aug 2011 15:16:42 -0400 Message-ID: <16192.1313003802@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.711 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.811 X-Spam-Level: X-Archive-Number: 201108/92 X-Sequence-Number: 38079 CS DBA 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