Re: Dead-end in PostgreSQL 8.0 fresh installation (while upgrading doesn't get anywhere) - Mailing list pgsql-general

From Lonni J Friedman
Subject Re: Dead-end in PostgreSQL 8.0 fresh installation (while upgrading doesn't get anywhere)
Date
Msg-id 7c1574a9050122222347e1a13c@mail.gmail.com
Whole thread Raw
In response to Dead-end in PostgreSQL 8.0 fresh installation (while upgrading doesn't get anywhere)  (Jarkko Elfving <jarelf@ebaana.net>)
Responses Re: Dead-end in PostgreSQL 8.0 fresh installation (while
List pgsql-general
On Sun, 23 Jan 2005 08:09:15 +0200, Jarkko Elfving <jarelf@ebaana.net> wrote:
> Hi again...
>
> I tried to solve my PostgreSQL cluster problem like Michael Fuhr and
> Lonni Friedman helps me, but I didn't get it work. So I figured out that
> if I do an fresh installation and removed the PostgreSQL completely
> (even those JDBC and PL -drivers - everything) and be sure that it is
> completely removed. Then I installed it again with rpm -Uhv command and
> start to proceed like the manuals tells me, but now I'm in dead-end:
> initdb fails because postgres program was not found. How this could be
> happened? I did not removed the postgres user because I thought that is
> not needed to do. Initdb returns following fail:
>
> # su postgres
> bash-3.00$ initdb -D=/var/lib/pgsql/data/
> fgets failure: Success
> The program "postgres" is needed by initdb but was not found in the
> same directory as "/usr/bin/initdb".
> Check your installation.
>
> I did check that file postgres really is in /usr/bin -folder.
>
> How should I proceed now?

Are you using the RPMs?  If so, then starting postgresql with
/etc/init.d/postgresql for the  first time will run initdb for you.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama@gmail.com
LlamaLand                       http://netllama.linux-sxs.org

pgsql-general by date:

Previous
From: William Yu
Date:
Subject: Re: Data entry - forms design or other APIs etc. - what is there?
Next
From: Jarkko Elfving
Date:
Subject: Re: Dead-end in PostgreSQL 8.0 fresh installation (while