Ynt: createdb -D /other/path dbname does not work

From: "Madness" <devrim(at)oper(dot)metu(dot)edu(dot)tr>
To: pgsql-admin(at)postgresql(dot)org
Subject: Ynt: createdb -D /other/path dbname does not work
Date: 2001-05-26 11:05:04
Message-ID: 9eo2c6$2bmd$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)crosswinds(dot)net> wrote in message
news:5(dot)1(dot)0(dot)14(dot)0(dot)20010518180656(dot)00adb858(at)pop(dot)crosswinds(dot)net(dot)(dot)(dot)
> 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Don Saxton 2001-05-26 18:48:04 Re: TCLu and mail
Previous Message Sébastien HEITZMANN 2001-05-26 11:00:59 TCLu and mail