pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: admin <pgsql-admin@postgresql.org>
To: pgsql novice <pgsql-novice@postgresql.org>
To: H S <aras_h1988@yahoo.com>
Subject: Re: "postgres" is needed by initdb but was not found
Date: Mon, 18 Apr 2011 16:55:06 -0500
Message-ID: <4DAC6CEA020000250003C984@gw.wicourts.gov> (raw)
In-Reply-To: <926506.81971.qm@web65907.mail.ac4.yahoo.com>
References: <926506.81971.qm@web65907.mail.ac4.yahoo.com>

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



view thread (14+ messages)  latest in thread

Message-ID: <4DAC6CEA020000250003C984@gw.wicourts.gov>
Permalink:  ../4DAC6CEA020000250003C984@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4DAC6CEA020000250003C984@gw.wicourts.gov

 · 

reply

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: Kevin.Grittner@wicourts.gov, pgsql-novice@postgresql.org, aras_h1988@yahoo.com
  Subject: Re: "postgres" is needed by initdb but was not found
  In-Reply-To: <4DAC6CEA020000250003C984@gw.wicourts.gov>

* 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