Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 91861B5DCC4 for ; Wed, 10 Aug 2011 16:08:36 -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 31608-09 for ; Wed, 10 Aug 2011 19:08:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-vw0-f46.google.com (mail-vw0-f46.google.com [209.85.212.46]) by mail.postgresql.org (Postfix) with ESMTP id 4A7B1B5DD36 for ; Wed, 10 Aug 2011 16:08:23 -0300 (ADT) Received: by vws1 with SMTP id 1so1607661vws.33 for ; Wed, 10 Aug 2011 12:08:22 -0700 (PDT) Received: by 10.220.147.198 with SMTP id m6mr2417293vcv.152.1313003302737; Wed, 10 Aug 2011 12:08:22 -0700 (PDT) Received: from issac.consistentstate.com (neustargw.va.neustar.com [209.173.53.233]) by mx.google.com with ESMTPS id gd12sm335152vcb.11.2011.08.10.12.08.21 (version=SSLv3 cipher=OTHER); Wed, 10 Aug 2011 12:08:22 -0700 (PDT) Message-ID: <4E42D725.8070803@consistentstate.com> Date: Wed, 10 Aug 2011 13:08:21 -0600 From: CS DBA User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: PG Admin Subject: initdb fails on AIX Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/91 X-Sequence-Number: 38078 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 ---------------------------------------------