Thread: Postmaster error (newbie questian)

Postmaster error (newbie questian)

From
john.murdoch@ig.com.br
Date:
Hello
I installed the postgre 7.2.3 from rpm files of my distro. (Conectiva8)
I am trying to execute postmaster, but the console show this message.
postmaster does not know where to find the database system data.
You must specify the directory that contains the database system
either by specifying the -D invocation option or by setting the
PGDATA environment variable.
and I don't know what directory is this PGDATA.
Thanks for your time
Hugs
Dirceu Semighini Filho

_________________________________________________________
Voce quer um iGMail protegido contra v�rus e spams?
Clique aqui: http://www.igmailseguro.ig.com.br


Re: Postmaster error (newbie questian)

From
"Ricardo Ryoiti S. Junior"
Date:
    Ola,

On Thu, 20 Mar 2003 john.murdoch@ig.com.br wrote:

> Hello
> I installed the postgre 7.2.3 from rpm files of my distro. (Conectiva8)
> I am trying to execute postmaster, but the console show this message.
> postmaster does not know where to find the database system data.
> You must specify the directory that contains the database system
> either by specifying the -D invocation option or by setting the
> PGDATA environment variable.
> and I don't know what directory is this PGDATA.
> Thanks for your time

    Did you have 4 minutes do read a simple documentation? I guess
not. :)

    ./initdb ../data
    ./pg_ctl -D ../data start


    []s
    Ricardo