Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-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

pgsql-novice by date

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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group