On Tue, Apr 19, 2011 at 12:12 AM, H S <aras_h1...@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 via email to