Re: Installing Postgresql - Mailing list pgsql-hackers

From hitchc@vcmr-19.rcs.rpi.edu (Collin W. Hitchcock)
Subject Re: Installing Postgresql
Date
Msg-id h4hhfj2zyfd.fsf@vcmr-19.rcs.rpi.edu
Whole thread Raw
In response to Installing Postgresql  ("Stiaan" <foresters@pixie.co.za>)
List pgsql-hackers
"Stiaan" <foresters@pixie.co.za> writes:

> 
> Ok, help me here.
> 
> Whenever I try to run Postmaster or I start the deamon it gives me the error
> message that he PGDATA directory cannot be found. I've set it in my
> .bash_profile file in /etc/skel : /home/user : /root directories.
> 
> What am I doing wrong?
> 
> Thanx Sti
> 
> 


As a sanity test, try setting the PGDATA and PGLIB manually and
starting the postmaster manually.  Logged in as the postgres user and
looking at a bash prompt do:

export PGLIB=/wherever/you/keep/the/postgres/lib/files
export PGDATA=/wherever/you/keep/the/database
postmaster 


Collin


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] PostgreSQL 6.5.3 built, but not released ...
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] sort on huge table