pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Madness <devrim@oper.metu.edu.tr>
To: pgsql-admin@postgresql.org
Subject: Ynt: createdb -D /other/path dbname does not work
Date: Sat, 26 May 2001 14:05:04 +0300
Message-ID: <9eo2c6$2bmd$1@news.tht.net> (raw)
References: <5.1.0.14.0.20010518180656.00adb858@pop.crosswinds.net>

Hi,

bash-2.04$ initlocation /pg_test/
The location will be initialized with username "postgres".
This user will own all the files and must also own the server process.

Fixing permissions on pre-existing directory /pg_test/
Creating directory /pg_test//base

initlocation is complete.

bash-2.04$ createdb -D /pg_test/ test
ERROR:  The database path '/pg_test/' is invalid. This may be due to a
character that is not allowed or because the chosen path isn't permitted for
databases
createdb: database creation failed

So, where is the problem?

Stefan Huber <schweinsaug@crosswinds.net> wrote in message
news:5.1.0.14.0.20010518180656.00adb858@pop.crosswinds.net...
> Hi!
>
> At 15:45 2001-05-18 +0200, Muhammed Yazici wrote:
> > > createdb -D /other/path dbname
> > > ERROR: The database path '/other/path' is invalid. This may be due to
a
> >character that is not allowed or because the chosen
> > > path isn't permitted for databases.
>
>
> Have you done an
> $ initlocation /other/path
> first?
>
> Stefan
>
> --
> "On the Internet, there is no 'they'. There's only a very,
> very large 'us'." --- Douglas Adams
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl





Message-ID: <9eo2c6$2bmd$1@news.tht.net>
Permalink:  ../9eo2c6$2bmd$1@news.tht.net/
Also on:    postgresql.org/message-id/9eo2c6$2bmd$1@news.tht.net

 · 

reply

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-admin@postgresql.org
  Cc: devrim@oper.metu.edu.tr
  Subject: Re: Ynt: createdb -D /other/path dbname does not work
  In-Reply-To: <9eo2c6$2bmd$1@news.tht.net>
  References: <5.1.0.14.0.20010518180656.00adb858@pop.crosswinds.net> <9eo2c6$2bmd$1@news.tht.net>

* 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