initlocation - server restart

From: Jochen Schmidt <jochen(at)joyce(dot)giub(dot)uni-bonn(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: initlocation - server restart
Date: 2000-08-30 18:35:29
Message-ID: 200008301835.UAA28965@joyce.giub.uni-bonn.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi
i have the following problem on my Linux, PostgreSQL 6.5.1:

postgres(at)vogon:~ > export PGDATA2="/home/jochen/data"
postgres(at)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(at)vogon:~ > nohup postmaster -i &
[1] 17270
postgres(at)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(dot)schmidt(at)uni-bonn(dot)de \___ |_| |.
. D - 53115 Bonn http://slide.giub.uni-bonn.de/~jochen | ___/.
. | | .
............................................................................

Browse pgsql-general by date

  From Date Subject
Next Message Peter Mount 2000-08-30 18:49:21 Re: Cursors and JDBC
Previous Message David Steuber 2000-08-30 18:00:07 Re: uninstall