createdb -D xxxx not working

From: Chris Griffin <cgriffin(at)websales(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: createdb -D xxxx not working
Date: 2000-01-08 06:02:33
Message-ID: B49C12F9.2029%cgriffin@websales.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql


This is a transcript of what I am trying:

# setenv PGDATA2 /web/sites/1.192/db-data
# initlocation PGDATA2
initlocation: input argument points to /web/sites/1.192/db-data
We are initializing the database area with username root (uid=0).
This user will own all the files and must also own the server process.

Creating Postgres database system directory /web/sites/1.192/db-data

Creating Postgres database system directory /web/sites/1.192/db-data/base

# createdb -D PGDATA2
ERROR: Unable to locate path 'PGDATA2/root'
This may be due to a missing environment variable in the server
createdb: database creation failed on root.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-01-08 06:31:40 Re: [HACKERS] Historical trivia (was Re: First Major Open Source Database)
Previous Message Tom Lane 2000-01-08 05:37:30 Historical trivia (was Re: First Major Open Source Database)

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2000-01-08 06:47:58 Re: [SQL] createdb -D xxxx not working
Previous Message Werner Fraga 2000-01-07 19:19:02 Re: [SQL] datetime fields have '60' in seconds field