From: raghu ram <raghuchennuru@gmail.com>
To: H S <aras_h1988@yahoo.com>
Cc: admin <pgsql-admin@postgresql.org>
Cc: pgsql novice <pgsql-novice@postgresql.org>
Subject: Re: "postgres" is needed by initdb but was not found
Date: Tue, 19 Apr 2011 03:21:10 +0530
Message-ID: <BANLkTi=qo6KbTC4jStwp46D+USB1coy_Vw@mail.gmail.com> (raw)
In-Reply-To: <926506.81971.qm@web65907.mail.ac4.yahoo.com>
References: <926506.81971.qm@web65907.mail.ac4.yahoo.com>
On Tue, Apr 19, 2011 at 12:12 AM, H S <aras_h1988@yahoo.com> 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
>
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: raghuchennuru@gmail.com, aras_h1988@yahoo.com, pgsql-novice@postgresql.org
Subject: Re: "postgres" is needed by initdb but was not found
In-Reply-To: <BANLkTi=qo6KbTC4jStwp46D+USB1coy_Vw@mail.gmail.com>
* 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