From: Chris Griffin <cgriffin@websales.com>
To: pgsql-sql@postgresql.org
Subject: createdb -D xxxx not working
Date: Fri, 07 Jan 2000 22:02:33 -0800
Message-ID: <B49C12F9.2029%cgriffin@websales.com> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: cgriffin@websales.com
Subject: Re: createdb -D xxxx not working
In-Reply-To: <B49C12F9.2029%cgriffin@websales.com>
References: <B49C12F9.2029%cgriffin@websales.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox