Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id AF0851337B43; Mon, 18 Apr 2011 18:55:19 -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 10157-02; Mon, 18 Apr 2011 21:55:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 0D3FE133740B; Mon, 18 Apr 2011 18:55:11 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Mon, 18 Apr 2011 16:55:12 -0500 Message-Id: <4DAC6CEA020000250003C984@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Mon, 18 Apr 2011 16:55:06 -0500 From: "Kevin Grittner" To: "admin" , "pgsql novice" , "H S" Subject: Re: "postgres" is needed by initdb but was not found References: <926506.81971.qm@web65907.mail.ac4.yahoo.com> In-Reply-To: <926506.81971.qm@web65907.mail.ac4.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/154 X-Sequence-Number: 37335 H S wrote: > [postgres@localhost bin]$ ./initdb --enable-selinux -D > /opt/sepgsql/ > The program "postgres" is needed by initdb but was not found in > the same directory as "/usr/local/pgsql/bin/initdb". > Check your installation. > > What should I do to fix the problem? Did you run ./initidb with /usr/local/pgsql/bin/ as your current directory? Is there a postgres executable in that directory? Also, what version? Where did you get it? How did you install it? What's your OS? -Kevin