Re: Install question - Mailing list pgsql-novice

From Mickey
Subject Re: Install question
Date
Msg-id LKEOIICFKDDHNMCNFJBIAEANGIAA.mickey@mcnjeni.com
Whole thread Raw
In response to Install question  ("Mickey" <mickey@mcnjeni.com>)
Responses Re: Install question
Re: Install question
List pgsql-novice
New install - Rh 7.3, PG 7.2.3

On trying to start postgres with

pg_ctrl start

I get this:

pg_ctl: no database directory or environment variable $PGDATA is specified

I was instructed to add this:

POSTGRESHOME=/usr/local/pgsql
MANPATH=$POSTGRESHOME/man:$MANPATH
PATH=$POSTGRESHOME/bin:$PATH
PGDATA=$POSTGRESHOME/data
LD_LIBRARY_PATH=$POSTGRESHOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH MANPATH PATH PGDATA

To this file:

 /etc/profile

Which I have done, and it has been saved ;)

Anyone know anything that might help?

Thanks,
Mickey

pgsql-novice by date:

Previous
From: "Mickey"
Date:
Subject: Install question
Next
From: Oliver Elphick
Date:
Subject: Re: Install question