Re: "postgres" is needed by initdb but was not found

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "admin" <pgsql-admin(at)postgresql(dot)org>, "pgsql novice" <pgsql-novice(at)postgresql(dot)org>, "H S" <aras_h1988(at)yahoo(dot)com>
Subject: Re: "postgres" is needed by initdb but was not found
Date: 2011-04-18 21:55:06
Message-ID: 4DAC6CEA020000250003C984@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-novice

H S <aras_h1988(at)yahoo(dot)com> wrote:
> [postgres(at)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Muruganand Karthikeyan 2011-04-19 05:09:38 Re: "postgres" is needed by initdb but was not found
Previous Message raghu ram 2011-04-18 21:51:10 Re: "postgres" is needed by initdb but was not found

Browse pgsql-novice by date

  From Date Subject
Next Message Pyrogerg 2011-04-19 02:47:08 MDTFATAL: could note create log file . . . permission denied
Previous Message raghu ram 2011-04-18 21:51:10 Re: "postgres" is needed by initdb but was not found