Re: [ADMIN] "postgres" is needed by initdb but was not found - Mailing list pgsql-novice

From Kevin Grittner
Subject Re: [ADMIN] "postgres" is needed by initdb but was not found
Date
Msg-id 4DAC6CEA020000250003C984@gw.wicourts.gov
Whole thread Raw
In response to "postgres" is needed by initdb but was not found  (H S <aras_h1988@yahoo.com>)
Responses Re: [ADMIN] "postgres" is needed by initdb but was not found  (Muruganand Karthikeyan <muruthegun@gmail.com>)
List pgsql-novice
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?

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

pgsql-novice by date:

Previous
From: raghu ram
Date:
Subject: Re: [ADMIN] "postgres" is needed by initdb but was not found
Next
From: Pyrogerg
Date:
Subject: MDTFATAL: could note create log file . . . permission denied