Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4SCXsA94642 for ; Mon, 28 May 2001 08:33:54 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4QBRvA95920 for ; Sat, 26 May 2001 07:27:57 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f4QB0OC77520 for pgsql-admin@postgresql.org; Sat, 26 May 2001 07:00:24 -0400 (EDT) (envelope-from news) From: "Madness" X-Newsgroups: comp.databases.postgresql.admin Subject: Ynt: createdb -D /other/path dbname does not work Date: Sat, 26 May 2001 14:05:04 +0300 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 48 Message-ID: <9eo2c6$2bmd$1@news.tht.net> References: <5.1.0.14.0.20010518180656.00adb858@pop.crosswinds.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: pgsql-admin@postgresql.org X-Archive-Number: 200105/152 X-Sequence-Number: 1509 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 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