Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D7DD01337C30; Mon, 18 Apr 2011 18:52:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 08800-09; Mon, 18 Apr 2011 21:51:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by mail.postgresql.org (Postfix) with ESMTP id B8E071337BF8; Mon, 18 Apr 2011 18:51:13 -0300 (ADT) Received: by ewy4 with SMTP id 4so1521629ewy.19 for ; Mon, 18 Apr 2011 14:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4sFOV7T6sBvJw2nSVPD/6FoZ/PU+5ERIVy9qyDUYRIs=; b=n7MtxExcXKQrqFBxXXaGZPknjgZog9ZWMfl1tPKcZFBkb0Rpk7DQCccYw2YcT5nhFm +wrTNbSu/Wojm3kzJdcHMSYu/gSOPggxzYWncZnbV6SWmftc59oViVX+QSim/ckoCnt9 mKf0GKbleL7tVcvg0ac7N2wx/VYbAhJ+3gj0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lkzxMyl6cxcNQo8whCxztwMLCZ/rSqnKyFBy1dhQycoVes2JD920QGC/3HpwxXXo/9 6G6CWOC9KUXpb0UkIXJ0FwBMMy+1+eowNkocQIkH1lYpw2mu6JGmAllSpOOXMRCTKue6 rj9TqjzVhJfbydIeCCrelSWHBPhKiMKheOMhA= MIME-Version: 1.0 Received: by 10.213.23.92 with SMTP id q28mr2359810ebb.80.1303163470174; Mon, 18 Apr 2011 14:51:10 -0700 (PDT) Received: by 10.213.98.65 with HTTP; Mon, 18 Apr 2011 14:51:10 -0700 (PDT) In-Reply-To: <926506.81971.qm@web65907.mail.ac4.yahoo.com> References: <926506.81971.qm@web65907.mail.ac4.yahoo.com> Date: Tue, 19 Apr 2011 03:21:10 +0530 Message-ID: Subject: Re: "postgres" is needed by initdb but was not found From: raghu ram To: H S Cc: admin , pgsql novice Content-Type: multipart/alternative; boundary=000e0cdf97b6b962eb04a1386332 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.897 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RFC_ABUSE_POST=0.001 X-Spam-Level: X-Archive-Number: 201104/153 X-Sequence-Number: 37334 --000e0cdf97b6b962eb04a1386332 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Apr 19, 2011 at 12:12 AM, 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? > > Ok, to know where your installation location is, try this command. which initdb -- Raghu > sara > --000e0cdf97b6b962eb04a1386332 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Apr 19, 2011 at 12:12 AM, H S <aras_h1988@yaho= o.com> wrote:
<= /table>

Ok, to know where your installation locati= on is, try this command.

which initdb
-- Raghu


=A0
[postgres@localhost bin]$ ./initdb --enable-selinux = -D /opt/sepgsql/
The program= "postgres" is needed by initdb but was not found in thesame directory as "/u= sr/local/pgsql/bin/initdb".
Check your = installation.

What should I do to fix the problem?

sara

--000e0cdf97b6b962eb04a1386332--