Thread: I can't initialize

I can't initialize

From
"Fernando Schutz"
Date:
This error ocurs when I've tried to run /usr/local/pgsql/bin/initdb -D /usr=
/local/pgsql/data:
---------------------------------------------------------------------------=
---------


This database system will be initialized with username "postgres".
This user will own all the data files and must also own the server process.

Fixing permissions on pre-existing data directory /usr/local/pgsql/dados/
Creating database system directory /usr/local/pgsql/dados//base
Creating database XLOG directory /usr/local/pgsql/dados//pg_xlog
Creating template database in /usr/local/pgsql/dados//base/template1
ERROR:  Error: unknown type 'ame'.

ERROR:  Error: unknown type 'ame'.

Creating global relations in /usr/local/pgsql/dados//base
ERROR:  Error: unknown type 'ame'.

ERROR:  Error: unknown type 'ame'.

Adding template1 database to pg_database
/usr/local/pgsql/bin/initdb: line 481:  1109 Falha de segmenta=E7=E3o    "$=
PGPATH"/postgres $BACKENDARGS template1 <"$TEMPFILE"

initdb failed.
Removing /usr/local/pgsql/dados/.
rm: n=E3o foi poss=EDvel remover diret=F3rio `/usr/local/pgsql/dados': Perm=
iss=E3o negada
Failed.
Removing temp file /tmp/initdb.1076.
/bin/nice: /usr/local/pgsql/~bin/initdb: Arquivo ou diret=F3rio n=E3o encon=
trado


Please, I'm in a hurry.
Thanks.
Fernando.

Re: I can't initialize

From
Peter Eisentraut
Date:
Fernando Schutz writes:

> This error ocurs when I've tried to run /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data:
> ------------------------------------------------------------------------------------
>
>
> This database system will be initialized with username "postgres".
> This user will own all the data files and must also own the server process.
>
> Fixing permissions on pre-existing data directory /usr/local/pgsql/dados/
> Creating database system directory /usr/local/pgsql/dados//base
> Creating database XLOG directory /usr/local/pgsql/dados//pg_xlog
> Creating template database in /usr/local/pgsql/dados//base/template1
> ERROR:  Error: unknown type 'ame'.

Update to 7.1 or search the archives for the fix.  (Searching for the
error message should provide the answer.)

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/