initlocation - server restart - Mailing list pgsql-general

From Jochen Schmidt
Subject initlocation - server restart
Date
Msg-id 200008301835.UAA28965@joyce.giub.uni-bonn.de
Whole thread Raw
List pgsql-general
hi
i have the following problem on my Linux, PostgreSQL 6.5.1:

postgres@vogon:~ > export PGDATA2="/home/jochen/data"
postgres@vogon:~ > initlocation $PGDATA2
We are initializing the database area with username postgres (uid=26).
This user will own all the files and must also own the server process.

Creating Postgres database system directory /home/jochen/data/base


postgres@vogon:~ >  nohup postmaster -i &
[1] 17270
postgres@vogon:~ > createdb -D $PGDATA2 bla
ERROR:  Unable to locate path '/home/jochen/data/bla'
        This may be due to a missing environment variable in the server
createdb: database creation failed on bla.

--

I read through the archives but couldn't find an answer to my problem...
thanks in advance, jochen

--
............................................................................
.                                                                    *     .
. Dipl. Geogr. Jochen Schmidt                                    *  | |    .
.                                | | | |    .
.   Department of Geography      phone +49/0228/739646          | | | |  * .
.     University of Bonn         fax   +49/0228/739099          | |_| | | |.
.   Meckenheimer Allee 166     jochen.schmidt@uni-bonn.de       \___  |_| |.
.      D - 53115 Bonn     http://slide.giub.uni-bonn.de/~jochen     |  ___/.
.                                                                   | |    .
............................................................................


pgsql-general by date:

Previous
From: David Steuber
Date:
Subject: Sequences: How do I set a sequence value?
Next
From: Oliver Smith
Date:
Subject: That killer 3rd join...