Thread

  1. initlocation - server restart

    Jochen Schmidt <jochen@joyce.giub.uni-bonn.de> — 2000-08-30T18:35:29Z

    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     |  ___/.
    .                                                                   | |    .  
    ............................................................................