Re: Install question

From: "Mickey" <mickey(at)mcnjeni(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Install question
Date: 2003-09-29 21:04:58
Message-ID: LKEOIICFKDDHNMCNFJBIAEANGIAA.mickey@mcnjeni.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2003-09-29 21:52:44 Re: Install question
Previous Message Mickey 2003-09-29 20:55:43 Install question