ERROR: Absolute paths are not allowed as database locations

From: Pablo Larra <larrapablo(at)gmail(dot)com>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: ERROR: Absolute paths are not allowed as database locations
Date: 2005-04-13 16:08:42
Message-ID: 4d386cb90504130908556a6757@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Estimados...
Cuando estoy queriendo crear una DB nueva en uun directorio en
concreto me dice...

[root(at)pilot root]# export PGDATA=/restore2/pgdata
[postgres(at)pilot root]$ initlocation /restore2/pgdata
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 /restore2/pgdata/
Creating directory /restore2/pgdata/base

initlocation is complete.
[postgres(at)pilot root]createdb -D $PGDATA desarrollo
ERROR: Absolute paths are not allowed as database locations
createdb: database creation failed

cuando inicio postgres lo hago de esta forma...
[postgres(at)pilot root]$ /usr/local/pgsql/bin/pg_ctl -D /u/pgdata/ -l
/restore2/logs/pgsql.log start

Alguien podria decirme que estoy haciendo mal???

--
Atte. Pablo Larra.

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Julio Rivero 2005-04-13 16:22:31 Re: Problemas a iniciar DB en WinPX
Previous Message Hugo Gamarra 2005-04-13 15:39:27 RE: Problemas a iniciar DB en WinPX